summaryrefslogtreecommitdiffstats
path: root/lib/bsearch.c
diff options
context:
space:
mode:
authorKatsuhiro Suzuki <suzuki.katsuhiro@socionext.com>2018-04-04 04:17:56 -0400
committerMauro Carvalho Chehab <mchehab@s-opensource.com>2018-04-04 06:27:28 -0400
commit5c6c9c4830b76d851d38829611b3c3e4be0f5cdf (patch)
treec0cd21927bc3340d869514075b04b7cdf4b56f38 /lib/bsearch.c
parent732a9edc30c64207606792d577a87dc8410ff236 (diff)
downloadlinux-5c6c9c4830b76d851d38829611b3c3e4be0f5cdf.tar.bz2
media: dvb_frontend: fix wrong cast in compat_ioctl
FE_GET_PROPERTY has always failed as following situations: - Use compatible ioctl - The array of 'struct dtv_property' has 2 or more items This patch fixes wrong cast to a pointer 'struct dtv_property' from a pointer of 2nd or after item of 'struct compat_dtv_property' array. Signed-off-by: Katsuhiro Suzuki <suzuki.katsuhiro@socionext.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'lib/bsearch.c')
0 files changed, 0 insertions, 0 deletions