mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
drivers/net: Use octal not symbolic permissions
Prefer the direct use of octal for permissions. Done with checkpatch -f --types=SYMBOLIC_PERMS --fix-inplace and some typing. Miscellanea: o Whitespace neatening around these conversions. Signed-off-by: Joe Perches <joe@perches.com> Reviewed-by: Wei Liu <wei.liu2@citrix.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
d6444062f8
commit
d61e403856
27 changed files with 124 additions and 127 deletions
|
@ -224,7 +224,7 @@ static void xenvif_debugfs_addif(struct xenvif *vif)
|
|||
|
||||
snprintf(filename, sizeof(filename), "io_ring_q%d", i);
|
||||
pfile = debugfs_create_file(filename,
|
||||
S_IRUSR | S_IWUSR,
|
||||
0600,
|
||||
vif->xenvif_dbg_root,
|
||||
&vif->queues[i],
|
||||
&xenvif_dbg_io_ring_ops_fops);
|
||||
|
@ -235,7 +235,7 @@ static void xenvif_debugfs_addif(struct xenvif *vif)
|
|||
|
||||
if (vif->ctrl_irq) {
|
||||
pfile = debugfs_create_file("ctrl",
|
||||
S_IRUSR,
|
||||
0400,
|
||||
vif->xenvif_dbg_root,
|
||||
vif,
|
||||
&xenvif_dbg_ctrl_ops_fops);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue