summaryrefslogtreecommitdiffstats
path: root/drivers/hwtracing/coresight
diff options
context:
space:
mode:
authorAndrzej Hajda <a.hajda@samsung.com>2016-02-15 15:35:21 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-05 12:19:39 -0800
commitecb63a1b644c77a383b05e44e931602ae5f3d2c6 (patch)
tree98912adbede6387524518726c6db1855a1fedf70 /drivers/hwtracing/coresight
parentba327173ef48c12cf6f326441c74f373fa3be220 (diff)
downloadop-kernel-dev-ecb63a1b644c77a383b05e44e931602ae5f3d2c6.zip
op-kernel-dev-ecb63a1b644c77a383b05e44e931602ae5f3d2c6.tar.gz
drivers: char: mem: fix IS_ERROR_VALUE usage
IS_ERR_VALUE macro should be used only with unsigned long type. Specifically it works incorrectly with longer types. The patch follows conclusion from discussion on LKML [1][2]. [1]: http://permalink.gmane.org/gmane.linux.kernel/2120927 [2]: http://permalink.gmane.org/gmane.linux.kernel/2150581 Signed-off-by: Andrzej Hajda <a.hajda@samsung.com> Acked-by: Al Viro <viro@ZenIV.linux.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/hwtracing/coresight')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud