On 12/13/2014 01:52 PM, Hans Verkuil wrote:
From: Hans Verkuil <hans.verk...@cisco.com>

drivers/media/dvb-frontends/hd29l2.c:29:18: warning: Variable length array is 
used.
drivers/media/dvb-frontends/hd29l2.c:34:32: error: cannot size expression
drivers/media/dvb-frontends/hd29l2.c:125:5: warning: symbol 
'hd29l2_rd_reg_mask' was not declared. Should it be static?

Variable length arrays are frowned upon, so replace with a fixed length and 
check
that there won't be a buffer overrun.

Signed-off-by: Hans Verkuil <hans.verk...@cisco.com>
Cc: Antti Palosaari <cr...@iki.fi>

Reviewed-by: Antti Palosaari <cr...@iki.fi>

Antti

--
http://palosaari.fi/
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to