commit | 39adb4e739050dcdb74c3465d261de8de5f224b7 | [log] [tgz] |
---|---|---|
author | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Thu Mar 22 09:01:11 2018 -0400 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Thu Mar 22 09:01:33 2018 -0400 |
tree | 11221d22d8bc5c29937e1e2558a728cc4f2e76ec | |
parent | f67449fdba3b9dbdd340d8cbf17dfa711d5bd2fb [diff] |
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>