summaryrefslogtreecommitdiffstats
path: root/Documentation/ABI
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2013-11-22 04:51:47 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-12-10 15:36:11 -0200
commite351bf25fa373a3de0be2141b962c5c3c27006a2 (patch)
tree5d2fd02808c2a0c962afe35363da2e71b13b4d91 /Documentation/ABI
parenteda9dfd6752e58c5c075076654007311da6b5268 (diff)
[media] cx18: check for allocation failure in cx18_read_eeprom()
It upsets static checkers when we don't check for allocation failure. I moved the memset() of "tv" earlier so we don't use uninitialized data on error. Fixes: 1d212cf0c2d8 ('[media] cx18: struct i2c_client is too big for stack') Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Acked-by: Andy Walls <awalls@md.metrocast.net> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'Documentation/ABI')
0 files changed, 0 insertions, 0 deletions