diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2012-09-12 09:57:33 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-09-12 18:43:45 +0200 |
commit | f325129ae9006298cfbeffb669b30f57ba0cc3c4 (patch) | |
tree | cd12da6bec7ea040a2c435c443e86a4222716d37 /drivers | |
parent | drivers/staging/gdm72xx/gdm_sdio.c: Remove useless kfree (diff) | |
download | linux-f325129ae9006298cfbeffb669b30f57ba0cc3c4.tar.xz linux-f325129ae9006298cfbeffb669b30f57ba0cc3c4.zip |
Staging: silicom: remove S_IWOTH from proc declaration
We don't need these to be world writable or group writable.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Cc: Daniel Cotey <puff65537@bansheeslibrary.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/staging/silicom/bp_mod.c | 3 | ||||
-rw-r--r-- | drivers/staging/silicom/bp_proc.c | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/drivers/staging/silicom/bp_mod.c b/drivers/staging/silicom/bp_mod.c index 0d961960fc60..6e999c7ea758 100644 --- a/drivers/staging/silicom/bp_mod.c +++ b/drivers/staging/silicom/bp_mod.c @@ -7724,8 +7724,7 @@ bypass_proc_create_entry_sd(struct pfs_unit_sd *pfs_unit_curr, pfs_unit_curr->proc_entry = create_proc_entry(pfs_unit_curr->proc_name, S_IFREG | S_IRUSR | S_IWUSR | S_IRGRP | - S_IWGRP | S_IROTH | - S_IWOTH, parent_pfs); + S_IROTH, parent_pfs); if (pfs_unit_curr->proc_entry == 0) { return -1; diff --git a/drivers/staging/silicom/bp_proc.c b/drivers/staging/silicom/bp_proc.c index 4fe862da759a..6ad4b27472e4 100644 --- a/drivers/staging/silicom/bp_proc.c +++ b/drivers/staging/silicom/bp_proc.c @@ -106,8 +106,7 @@ bypass_proc_create_entry_sd(struct pfs_unit *pfs_unit_curr, pfs_unit_curr->proc_entry = create_proc_entry(pfs_unit_curr->proc_name, S_IFREG | S_IRUSR | S_IWUSR | S_IRGRP | - S_IWGRP | S_IROTH | - S_IWOTH, parent_pfs); + S_IROTH, parent_pfs); if (pfs_unit_curr->proc_entry == 0) { return -1; |