diff options
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-03-22 09:01:11 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2018-03-22 09:01:33 -0400 |
commit | 39adb4e739050dcdb74c3465d261de8de5f224b7 (patch) | |
tree | 11221d22d8bc5c29937e1e2558a728cc4f2e76ec /drivers/media/dvb-core/dvb_frontend.c | |
parent | f67449fdba3b9dbdd340d8cbf17dfa711d5bd2fb (diff) | |
download | blackbird-obmc-linux-39adb4e739050dcdb74c3465d261de8de5f224b7.tar.gz blackbird-obmc-linux-39adb4e739050dcdb74c3465d261de8de5f224b7.zip |
media: dvbdev: handle ENOMEM error at dvb_module_probe()
If allocation of struct board_info fails, return NULL from
dvb_module_probe().
Fix this warning:
drivers/media/dvb-core/dvbdev.c:958 dvb_module_probe() error: potential null dereference 'board_info'. (kzalloc returns null)
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/dvb-core/dvb_frontend.c')
0 files changed, 0 insertions, 0 deletions