commit | b66d448487a478c203368f2b72d7d9156a01f6be | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hverkuil@xs4all.nl> | Sat Apr 07 05:38:52 2018 -0400 |
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | Tue Apr 17 05:49:59 2018 -0400 |
tree | daa7beb652666cf1a3724c4c6f667f54ece9ec5e | |
parent | 9879c9d3ecb45379adf180a28a7cea19cdca07bd [diff] |
media: cec: fix smatch error drivers/media/cec/cec-pin-error-inj.c:231 cec_pin_error_inj_parse_line() error: uninitialized symbol 'pos'. The tx-add-bytes command didn't check for the presence of an argument, and also didn't check that it was > 0. This should fix this error. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>