summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-bcm2835.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2015-07-24 09:37:14 -0700
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-07-24 13:56:33 -0700
commit4ad2adc98f113d6c21d7bd365cd45ba88d4f7470 (patch)
tree30df4341b6cbd9ebf004a70fd2b78b8570dd53ef /drivers/spi/spi-bcm2835.c
parent59cc3399efd61fabb7f4aa23d4498bd9b01e5f6d (diff)
staging: lustre: Replace strtoul with simple_strtoul
Defining and using strtoul in lustre code results in the following compile warnings (arm64:allmodconfig). include/linux/libcfs/libcfs_string.h:105:0: warning: "strtoul" redefined #define strtoul(str, endp, base) simple_strtoul(str, endp, base) include/acpi/platform/aclinux.h:122:0: note: this is the location of the previous definition #define strtoul simple_strtoul Remove the definition and use simple_strtoul() directly. Note that we can not replace simple_strtoul with kstrtoul since the end pointer is used by the code. Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/spi/spi-bcm2835.c')
0 files changed, 0 insertions, 0 deletions