diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-08-20 16:45:35 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-08-20 16:45:35 -0300 |
commit | f9d89fc637b04b27edfad537b4389bd5dfadc2f2 (patch) | |
tree | b7d2afeaaabcb4f9d38a30212180487b00283bc3 /linux/drivers/media/video/indycam.h | |
parent | 638acf07e1921e20c61cd6fa47effac3dd17960b (diff) | |
download | mediapointer-dvb-s2-f9d89fc637b04b27edfad537b4389bd5dfadc2f2.tar.gz mediapointer-dvb-s2-f9d89fc637b04b27edfad537b4389bd5dfadc2f2.tar.bz2 |
Fix a warning at dvb_net
From: Mauro Carvalho Chehab <mchehab@infradead.org>
static function dvb_net_sec declares input arg "pkt" as u8. However, the
same argument at dvb_net_sec_callback is defined as "const u8". When
calling dvb_net_sec, this is casted as just "u8".
gcc 4.2.1 generates a warning about that:
CC [M] drivers/media/dvb/dvb-core/dvb_net.o
drivers/media/dvb/dvb-core/dvb_net.c: In function "dvb_net_sec_callback":
drivers/media/dvb/dvb-core/dvb_net.c:905: warning: passing argument 2 of
"dvb_net_sec" discards qualifiers from pointer target type
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video/indycam.h')
0 files changed, 0 insertions, 0 deletions