aboutsummaryrefslogtreecommitdiff
path: root/drivers/pci/controller/pci-hyperv-intf.c
diff options
context:
space:
mode:
authorYang Yingliang <[email protected]>2020-11-17 14:13:50 +0800
committerThomas Zimmermann <[email protected]>2020-11-17 08:47:15 +0100
commitba236455ee750270f33998df57f982433cea4d8e (patch)
tree799b97461d83b55fa8e8d74f0b073e2343f8b405 /drivers/pci/controller/pci-hyperv-intf.c
parente9d2871f69212a5fb5a8c021dd0195cb502add44 (diff)
video: fbdev: atmel_lcdfb: fix return error code in atmel_lcdfb_of_init()
If devm_kzalloc() failed after the first time, atmel_lcdfb_of_init() can't return -ENOMEM, fix this by putting the error code in loop. Fixes: b985172b328a ("video: atmel_lcdfb: add device tree suport") Reported-by: Hulk Robot <[email protected]> Signed-off-by: Yang Yingliang <[email protected]> Signed-off-by: Thomas Zimmermann <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/pci/controller/pci-hyperv-intf.c')
0 files changed, 0 insertions, 0 deletions