No description
  • C 98.2%
  • Assembly 1%
  • Makefile 0.3%
  • Shell 0.2%
  • Python 0.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Hans Verkuil 273caa2600 media: v4l2-compat-ioctl32.c: make ctrl_is_pointer work for subdevs
If the device is of type VFL_TYPE_SUBDEV then vdev->ioctl_ops
is NULL so the 'if (!ops->vidioc_query_ext_ctrl)' check would crash.
Add a test for !ops to the condition.

All sub-devices that have controls will use the control framework,
so they do not have an equivalent to ops->vidioc_query_ext_ctrl.
Returning false if ops is NULL is the correct thing to do here.

Fixes: b8c601e8af ("v4l2-compat-ioctl32.c: fix ctrl_is_pointer")

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reported-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: <stable@vger.kernel.org>      # for v4.15 and up
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
2018-01-31 03:09:04 -05:00
arch Linux 4.15-rc6 2018-01-03 04:14:04 -05:00
block
certs
crypto
Documentation media: dt-bindings/media/cec-gpio.txt: mention the CEC/HPD max voltages 2018-01-23 08:05:00 -05:00
drivers media: v4l2-compat-ioctl32.c: make ctrl_is_pointer work for subdevs 2018-01-31 03:09:04 -05:00
firmware
fs Linux 4.15-rc6 2018-01-03 04:14:04 -05:00
include media: entity: Add a nop variant of media_entity_cleanup 2018-01-23 08:12:01 -05:00
init
ipc
kernel
lib Linux 4.15-rc6 2018-01-03 04:14:04 -05:00
mm
net
samples
scripts Linux 4.15-rc6 2018-01-03 04:14:04 -05:00
security
sound
tools
usr
virt
.cocciconfig
.get_maintainer.ignore
.gitattributes
.gitignore
.mailmap
COPYING
CREDITS
Kbuild
Kconfig
MAINTAINERS media: i2c: Add the ov7740 image sensor driver 2018-01-05 12:49:51 -05:00
Makefile
README

Linux kernel
============

This file was moved to Documentation/admin-guide/README.rst

Please notice that there are several guides for kernel developers and users.
These guides can be rendered in a number of formats, like HTML and PDF.

In order to build the documentation, use ``make htmldocs`` or
``make pdfdocs``.

There are various text files in the Documentation/ subdirectory,
several of them using the Restructured Text markup notation.
See Documentation/00-INDEX for a list of what is contained in each file.

Please read the Documentation/process/changes.rst file, as it contains the
requirements for building and running the kernel, and information about
the problems which may result by upgrading your kernel.