summaryrefslogtreecommitdiff
path: root/include/drm/drm_debugfs_crc.h
diff options
context:
space:
mode:
authorPan Bian <bianpan2016@163.com>2016-12-03 16:56:49 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-01-11 09:11:39 +0100
commit5b11ebedd6a8bb4271b796e498cd15c0fe1133b6 (patch)
treec0b0c61921982c62c49ec4824616a646409237dd /include/drm/drm_debugfs_crc.h
parent488debb9971bc7d0edd6d8080ba78ca02a04f6c4 (diff)
extcon: return error code on failure
Function get_zeroed_page() returns a NULL pointer if there is no enough memory. In function extcon_sync(), it returns 0 if the call to get_zeroed_page() fails. The return value 0 indicates success in the context, which is incosistent with the execution status. This patch fixes the bug by returning -ENOMEM. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=188611 Signed-off-by: Pan Bian <bianpan2016@163.com> Fixes: a580982f0836e Cc: stable <stable@vger.kernel.org> Acked-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/drm/drm_debugfs_crc.h')
0 files changed, 0 insertions, 0 deletions
/linux/net-next.git/diff/tools/build/feature/test-pthread-attr-setaffinity-np.c?h=nds-private-remove&id=238d1d0f79f619d75c2cc741d6770fb0986aef24&id2=36f671be1db1b17d3d4ab0c8b47f81ccb1efcb75'>diff)
Merge tag 'docs-4.10-rc1-fix' of git://git.lwn.net/linux
Pull documentation fixes from Jonathan Corbet: "Two small fixes: - A merge error on my part broke the DocBook build. I've requisitioned one of tglx's frozen sharks for appropriate disciplinary action and resolved to be more careful about testing the DocBook stuff as long as it's still around. - Fix an error in unaligned-memory-access.txt" * tag 'docs-4.10-rc1-fix' of git://git.lwn.net/linux: Documentation/unaligned-memory-access.txt: fix incorrect comparison operator docs: Fix build failure
Diffstat (limited to 'tools/build/feature/test-pthread-attr-setaffinity-np.c')