aboutsummaryrefslogtreecommitdiffstats
path: root/net/lapb/lapb_iface.c
diff options
context:
space:
mode:
authorRussell Currey <[email protected]>2016-12-15 05:12:41 +0000
committerDaniel Vetter <[email protected]>2016-12-18 13:39:50 +0000
commit298360af3dab45659810fdc51aba0c9f4097e4f6 (patch)
tree98d46be4e77202f57ab7f36e4b245d484fa11025 /net/lapb/lapb_iface.c
parentMerge branch 'linux-4.10' of git://github.com/skeggsb/linux into drm-next (diff)
downloadkernel-298360af3dab45659810fdc51aba0c9f4097e4f6.tar.gz
kernel-298360af3dab45659810fdc51aba0c9f4097e4f6.zip
drivers/gpu/drm/ast: Fix infinite loop if read fails
ast_get_dram_info() configures a window in order to access BMC memory. A BMC register can be configured to disallow this, and if so, causes an infinite loop in the ast driver which renders the system unusable. Fix this by erroring out if an error is detected. On powerpc systems with EEH, this leads to the device being fenced and the system continuing to operate. Cc: <[email protected]> # 3.10+ Signed-off-by: Russell Currey <[email protected]> Reviewed-by: Joel Stanley <[email protected]> Signed-off-by: Daniel Vetter <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'net/lapb/lapb_iface.c')
0 files changed, 0 insertions, 0 deletions