[ofa-general] [PATCH 1/13] RDMA/nes: sysfs permissions
Chien Tung
ctung at neteffect.com
Fri Sep 26 13:08:10 PDT 2008
Author: Chien Tung <ctung at neteffect.com>
Change permission to 0644 for following files:
/sys/module/iw_nes/parameters/mpa_version
/sys/module/iw_nes/parameters/disable_mpa_crc
/sys/module/iw_nes/parameters/send_first
/sys/module/iw_nes/parameters/nes_drv_opt
Signed-off-by: Sweta Bhatt <sweta.bhatt at einfochips.com>
Signed-off-by: Chien Tung <ctung at neteffect.com>
--
Roland,
Please queue up this patch series for 2.6.28 after "nes_cm.c cleanup" patch and "4 port 1G HP blade card support" patch.
Thanks,
Chien
drivers/infiniband/hw/nes/nes.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/drivers/infiniband/hw/nes/nes.c b/drivers/infiniband/hw/nes/nes.c
index a539685..30c93db 100644
--- a/drivers/infiniband/hw/nes/nes.c
+++ b/drivers/infiniband/hw/nes/nes.c
@@ -70,21 +70,21 @@ int interrupt_mod_interval = 0;
/* Interoperability */
int mpa_version = 1;
-module_param(mpa_version, int, 0);
+module_param(mpa_version, int, 0644);
MODULE_PARM_DESC(mpa_version, "MPA version to be used int MPA Req/Resp (0 or 1)");
/* Interoperability */
int disable_mpa_crc = 0;
-module_param(disable_mpa_crc, int, 0);
+module_param(disable_mpa_crc, int, 0644);
MODULE_PARM_DESC(disable_mpa_crc, "Disable checking of MPA CRC");
unsigned int send_first = 0;
-module_param(send_first, int, 0);
+module_param(send_first, int, 0644);
MODULE_PARM_DESC(send_first, "Send RDMA Message First on Active Connection");
unsigned int nes_drv_opt = 0;
-module_param(nes_drv_opt, int, 0);
+module_param(nes_drv_opt, int, 0644);
MODULE_PARM_DESC(nes_drv_opt, "Driver option parameters");
unsigned int nes_debug_level = 0;
More information about the general
mailing list