[media] dvb_ca_en50221: fix compilation breakage
authorMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 10 Jan 2012 21:08:53 +0000 (19:08 -0200)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 10 Jan 2012 21:15:45 +0000 (19:15 -0200)
commit624f0c186978f9cb0ce6582f445922eaaa4a7f4a
tree5a666f64e0fca7079b471e7f2cde0407e9b15c42
parent2f78604a433a12571ec3e54054fbfacc7525b307
[media] dvb_ca_en50221: fix compilation breakage

As reported by Toralf:

the build failed with :
  CC [M]  drivers/media/dvb/dvb-core/dvb_ca_en50221.o
In file included from arch/x86/include/asm/uaccess.h:573:0,
                 from include/linux/poll.h:14,
                 from drivers/media/dvb/dvb-core/dvbdev.h:27,
                 from drivers/media/dvb/dvb-core/dvb_ca_en50221.h:27,
                 from drivers/media/dvb/dvb-core/dvb_ca_en50221.c:41:
In function "copy_from_user", inlined from "dvb_ca_en50221_io_write" at drivers/media/dvb/dvb-core/dvb_ca_en50221.c:1314:26: arch/x86/include/asm/uaccess_32.h:211:26: error: call to "copy_from_user_overflow" declared with attribute error: copy_from_user() buffer size is not provably correct

Reported-by: Toralf Foerster <toralf.foerster@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-core/dvb_ca_en50221.c