diff options
author | 2013-08-22 17:49:32 +0200 | |
---|---|---|
committer | 2013-09-03 07:27:55 -0700 | |
commit | ee732ea8298ff5a38582f12354d9bbf0cb1faac1 (patch) | |
tree | 63ce5c8b2a52534d770ed810532bf8e9ec5576ae /drivers/s390/scsi/zfcp_aux.c | |
parent | [SCSI] zfcp: consistently use appropriate SBAL flag definitions (diff) | |
download | linux-ee732ea8298ff5a38582f12354d9bbf0cb1faac1.tar.gz linux-ee732ea8298ff5a38582f12354d9bbf0cb1faac1.tar.bz2 linux-ee732ea8298ff5a38582f12354d9bbf0cb1faac1.zip |
[SCSI] zfcp: cleanup use of obsolete strict_strto* functions
strict_strtoul and friends are obsolete. Use kstrtoul functions
instead.
Signed-off-by: Martin Peschke <mpeschke@linux.vnet.ibm.com>
Signed-off-by: Steffen Maier <maier@linux.vnet.ibm.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/s390/scsi/zfcp_aux.c')
-rw-r--r-- | drivers/s390/scsi/zfcp_aux.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/s390/scsi/zfcp_aux.c b/drivers/s390/scsi/zfcp_aux.c index 1b9e4aee914b..8004b071a9f2 100644 --- a/drivers/s390/scsi/zfcp_aux.c +++ b/drivers/s390/scsi/zfcp_aux.c @@ -104,11 +104,11 @@ static void __init zfcp_init_device_setup(char *devstr) strncpy(busid, token, ZFCP_BUS_ID_SIZE); token = strsep(&str, ","); - if (!token || strict_strtoull(token, 0, (unsigned long long *) &wwpn)) + if (!token || kstrtoull(token, 0, (unsigned long long *) &wwpn)) goto err_out; token = strsep(&str, ","); - if (!token || strict_strtoull(token, 0, (unsigned long long *) &lun)) + if (!token || kstrtoull(token, 0, (unsigned long long *) &lun)) goto err_out; kfree(str_saved); |