Andrzej Hajda ecb63a1b64 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>
2016-03-05 12:19:39 -08:00
..
2013-05-05 00:11:29 -04:00
2013-02-22 23:31:31 -05:00
2013-05-05 00:12:29 -04:00
2016-02-17 09:39:56 +01:00
2013-12-18 16:39:54 -08:00
2013-02-22 23:31:31 -05:00
2016-02-14 17:43:50 -08:00
2016-01-22 18:04:28 -05:00
2015-03-25 20:28:11 -04:00
2013-10-16 12:36:10 -07:00
2014-04-16 14:21:06 -07:00