diff options
Diffstat (limited to 'drivers/firmware/iscsi_ibft.c')
-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: |