diff options
Diffstat (limited to 'drivers/scsi/be2iscsi/be_main.c')
-rw-r--r-- | drivers/scsi/be2iscsi/be_main.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/scsi/be2iscsi/be_main.c b/drivers/scsi/be2iscsi/be_main.c index fc7c97d7e34d..375756fa95cf 100644 --- a/drivers/scsi/be2iscsi/be_main.c +++ b/drivers/scsi/be2iscsi/be_main.c | |||
@@ -325,9 +325,9 @@ static ssize_t beiscsi_show_boot_eth_info(void *data, int type, char *buf) | |||
325 | } | 325 | } |
326 | 326 | ||
327 | 327 | ||
328 | static mode_t beiscsi_tgt_get_attr_visibility(void *data, int type) | 328 | static umode_t beiscsi_tgt_get_attr_visibility(void *data, int type) |
329 | { | 329 | { |
330 | int rc; | 330 | umode_t rc; |
331 | 331 | ||
332 | switch (type) { | 332 | switch (type) { |
333 | case ISCSI_BOOT_TGT_NAME: | 333 | case ISCSI_BOOT_TGT_NAME: |
@@ -348,9 +348,9 @@ static mode_t beiscsi_tgt_get_attr_visibility(void *data, int type) | |||
348 | return rc; | 348 | return rc; |
349 | } | 349 | } |
350 | 350 | ||
351 | static mode_t beiscsi_ini_get_attr_visibility(void *data, int type) | 351 | static umode_t beiscsi_ini_get_attr_visibility(void *data, int type) |
352 | { | 352 | { |
353 | int rc; | 353 | umode_t rc; |
354 | 354 | ||
355 | switch (type) { | 355 | switch (type) { |
356 | case ISCSI_BOOT_INI_INITIATOR_NAME: | 356 | case ISCSI_BOOT_INI_INITIATOR_NAME: |
@@ -364,9 +364,9 @@ static mode_t beiscsi_ini_get_attr_visibility(void *data, int type) | |||
364 | } | 364 | } |
365 | 365 | ||
366 | 366 | ||
367 | static mode_t beiscsi_eth_get_attr_visibility(void *data, int type) | 367 | static umode_t beiscsi_eth_get_attr_visibility(void *data, int type) |
368 | { | 368 | { |
369 | int rc; | 369 | umode_t rc; |
370 | 370 | ||
371 | switch (type) { | 371 | switch (type) { |
372 | case ISCSI_BOOT_ETH_FLAGS: | 372 | case ISCSI_BOOT_ETH_FLAGS: |