diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2011-07-23 23:11:19 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-01-03 22:54:55 -0500 |
commit | 587a1f1659e8b330b8738ef4901832a2b63f0bed (patch) | |
tree | b785c3f44ddba6ee036e02268502cdc961f55ea0 /drivers/firmware | |
parent | 9104e427f3e21ddb380ddc39752624365b5bffea (diff) |
switch ->is_visible() to returning umode_t
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/firmware')
-rw-r--r-- | drivers/firmware/iscsi_ibft.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/firmware/iscsi_ibft.c b/drivers/firmware/iscsi_ibft.c index 2cce44a1d7d0..3ee852c9925b 100644 --- a/drivers/firmware/iscsi_ibft.c +++ b/drivers/firmware/iscsi_ibft.c | |||
@@ -433,11 +433,11 @@ static int __init ibft_check_device(void) | |||
433 | * Helper routiners to check to determine if the entry is valid | 433 | * Helper routiners to check to determine if the entry is valid |
434 | * in the proper iBFT structure. | 434 | * in the proper iBFT structure. |
435 | */ | 435 | */ |
436 | static mode_t ibft_check_nic_for(void *data, int type) | 436 | static umode_t ibft_check_nic_for(void *data, int type) |
437 | { | 437 | { |
438 | struct ibft_kobject *entry = data; | 438 | struct ibft_kobject *entry = data; |
439 | struct ibft_nic *nic = entry->nic; | 439 | struct ibft_nic *nic = entry->nic; |
440 | mode_t rc = 0; | 440 | umode_t rc = 0; |
441 | 441 | ||
442 | switch (type) { | 442 | switch (type) { |
443 | case ISCSI_BOOT_ETH_INDEX: | 443 | case ISCSI_BOOT_ETH_INDEX: |
@@ -488,11 +488,11 @@ static mode_t ibft_check_nic_for(void *data, int type) | |||
488 | return rc; | 488 | return rc; |
489 | } | 489 | } |
490 | 490 | ||
491 | static mode_t __init ibft_check_tgt_for(void *data, int type) | 491 | static umode_t __init ibft_check_tgt_for(void *data, int type) |
492 | { | 492 | { |
493 | struct ibft_kobject *entry = data; | 493 | struct ibft_kobject *entry = data; |
494 | struct ibft_tgt *tgt = entry->tgt; | 494 | struct ibft_tgt *tgt = entry->tgt; |
495 | mode_t rc = 0; | 495 | umode_t rc = 0; |
496 | 496 | ||
497 | switch (type) { | 497 | switch (type) { |
498 | case ISCSI_BOOT_TGT_INDEX: | 498 | case ISCSI_BOOT_TGT_INDEX: |
@@ -524,11 +524,11 @@ static mode_t __init ibft_check_tgt_for(void *data, int type) | |||
524 | return rc; | 524 | return rc; |
525 | } | 525 | } |
526 | 526 | ||
527 | static mode_t __init ibft_check_initiator_for(void *data, int type) | 527 | static umode_t __init ibft_check_initiator_for(void *data, int type) |
528 | { | 528 | { |
529 | struct ibft_kobject *entry = data; | 529 | struct ibft_kobject *entry = data; |
530 | struct ibft_initiator *init = entry->initiator; | 530 | struct ibft_initiator *init = entry->initiator; |
531 | mode_t rc = 0; | 531 | umode_t rc = 0; |
532 | 532 | ||
533 | switch (type) { | 533 | switch (type) { |
534 | case ISCSI_BOOT_INI_INDEX: | 534 | case ISCSI_BOOT_INI_INDEX: |