Arnd Bergmann 5f0cc6d16c ARM: pxa: Wunused-result warning in viper board file
Calling kstrtoul requires checking the result. In case of
the viper_tpm_setup function, let's fail the __setup function
if the number was invalid.

Without this patch, building viper_defconfig results in:

arch/arm/mach-pxa/viper.c: In function 'viper_tpm_setup':
arch/arm/mach-pxa/viper.c:771:10: warning: ignoring return value of 'kstrtoul', declared with attribute warn_unused_result [-Wunused-result]

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Marc Zyngier <maz@misterjones.org>
Cc: Haojian Zhuang <haojian.zhuang@marvell.com>
Cc: Eric Miao <eric.y.miao@gmail.com>
2012-10-04 10:19:51 +02:00
..
2012-01-25 20:37:49 -06:00
2011-07-12 19:45:19 +08:00
2011-07-12 19:45:19 +08:00
2012-05-14 09:30:04 +08:00
2012-01-25 20:37:49 -06:00
2012-01-25 20:37:49 -06:00
2012-01-25 20:37:49 -06:00
2012-01-25 20:37:49 -06:00
2012-01-05 12:57:17 +00:00
2012-03-28 18:30:01 +01:00
2012-01-25 20:37:49 -06:00
2012-01-25 20:37:49 -06:00
2012-01-25 20:37:49 -06:00
2012-07-30 09:48:00 -07:00
2012-01-25 20:37:49 -06:00
2012-01-25 20:37:49 -06:00
2011-11-15 19:08:27 +08:00
2012-04-05 11:29:55 -07:00
2012-03-28 18:30:01 +01:00
2012-01-25 20:37:49 -06:00
2012-05-14 09:30:04 +08:00
2012-01-25 20:37:49 -06:00
2012-01-25 20:37:49 -06:00
2012-01-25 20:37:49 -06:00
2012-01-25 20:37:49 -06:00
2012-01-25 20:37:49 -06:00
2012-01-25 20:37:49 -06:00
2012-03-28 18:30:01 +01:00
2012-03-25 14:36:31 -05:00
2012-04-27 10:46:45 +08:00
2012-03-25 14:36:31 -05:00
2012-03-25 14:36:31 -05:00
2010-12-18 21:02:14 +08:00
2012-01-25 20:37:49 -06:00
2012-03-29 18:02:10 -07:00
2012-05-14 09:30:04 +08:00
2012-01-25 20:37:49 -06:00
2012-05-14 09:30:04 +08:00
2012-01-25 20:37:49 -06:00
2012-05-14 09:30:04 +08:00
2012-03-28 18:30:01 +01:00