Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1629800
| From | Colin King <colin.king@canonical.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] scsi: fcoe: make fcoe_e_d_tov and fcoe_r_a_tov static |
| Date | 2017-04-24 19:10 +0200 |
| Message-ID | <tzPES-1jt-27@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
From: Colin Ian King <colin.king@canonical.com> These module parameter variables don't need global scope, make them static Signed-off-by: Colin Ian King <colin.king@canonical.com> --- drivers/scsi/fcoe/fcoe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/scsi/fcoe/fcoe.c b/drivers/scsi/fcoe/fcoe.c index ab7bc1505e0b..90939f66bc0d 100644 --- a/drivers/scsi/fcoe/fcoe.c +++ b/drivers/scsi/fcoe/fcoe.c @@ -63,11 +63,11 @@ unsigned int fcoe_debug_logging; module_param_named(debug_logging, fcoe_debug_logging, int, S_IRUGO|S_IWUSR); MODULE_PARM_DESC(debug_logging, "a bit mask of logging levels"); -unsigned int fcoe_e_d_tov = 2 * 1000; +static unsigned int fcoe_e_d_tov = 2 * 1000; module_param_named(e_d_tov, fcoe_e_d_tov, int, S_IRUGO|S_IWUSR); MODULE_PARM_DESC(e_d_tov, "E_D_TOV in ms, default 2000"); -unsigned int fcoe_r_a_tov = 2 * 2 * 1000; +static unsigned int fcoe_r_a_tov = 2 * 2 * 1000; module_param_named(r_a_tov, fcoe_r_a_tov, int, S_IRUGO|S_IWUSR); MODULE_PARM_DESC(r_a_tov, "R_A_TOV in ms, default 4000"); -- 2.11.0
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH] scsi: fcoe: make fcoe_e_d_tov and fcoe_r_a_tov static Colin King <colin.king@canonical.com> - 2017-04-24 19:10 +0200 Re: [PATCH] scsi: fcoe: make fcoe_e_d_tov and fcoe_r_a_tov static Johannes Thumshirn <jthumshirn@suse.de> - 2017-04-25 09:10 +0200 Re: [PATCH] scsi: fcoe: make fcoe_e_d_tov and fcoe_r_a_tov static "Martin K. Petersen" <martin.petersen@oracle.com> - 2017-04-25 19:00 +0200
csiph-web