summaryrefslogtreecommitdiff
path: root/drivers/edac
diff options
context:
space:
mode:
authorAndrey Utkin <andrey.krieger.utkin@gmail.com>2014-07-17 12:13:23 (GMT)
committerTejun Heo <tj@kernel.org>2014-07-17 12:36:13 (GMT)
commita2a9e02b5b67a7a32a14ab6c4c331a1a0c23a1db (patch)
treef473c9ed7592fd393ca844da939b1fa2c2a096e5 /drivers/edac
parenteec7e1c16d2b65e38137686dd9b7e102c2150905 (diff)
downloadlinux-a2a9e02b5b67a7a32a14ab6c4c331a1a0c23a1db.tar.xz
drivers/ata/pata_ep93xx.c: use signed int type for result of platform_get_irq()
[linux-3.16-rc5/drivers/ata/pata_ep93xx.c:929]: (style) Checking if unsigned variable 'irq' is less than zero. Source code is irq = platform_get_irq(pdev, 0); if (irq < 0) { but unsigned int irq; $ fgrep platform_get_irq `find . -name \*.h -print` ./include/linux/platform_device.h:extern int platform_get_irq(struct platform_device *, unsigned int); Now using "int" type instead of "unsigned int" for "irq" variable. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=80401 Reported-by: David Binderman <dcb314@hotmail.com> Signed-off-by: Andrey Utkin <andrey.krieger.utkin@gmail.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/edac')
0 files changed, 0 insertions, 0 deletions