linux/drivers/media
Fengguang Wu fb21cf4eec media: vcodec: fix ptr_ret.cocci warnings
drivers/media/platform/mtk-jpeg/mtk_jpeg_core.c:1087:1-3: WARNING: PTR_ERR_OR_ZERO can be used

 Use PTR_ERR_OR_ZERO rather than if(IS_ERR(...)) + PTR_ERR

Generated by: scripts/coccinelle/api/ptr_ret.cocci

Fixes: 648a957693 ("media: vcodec: fix error return value from mtk_jpeg_clk_init()")

CC: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-05-09 15:58:30 -04:00
..
cec media: rc: per-protocol repeat period and minimum keyup timer 2018-04-20 09:16:55 -04:00
common media: lgdt330x: convert it to the new I2C binding way 2018-05-04 11:09:26 -04:00
dvb-core media: dvb_net: fix dvb_net_tx()'s return type 2018-05-05 10:21:40 -04:00
dvb-frontends media: cxd2880: Changed version information 2018-05-05 10:38:18 -04:00
firewire vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
i2c media: i2c: tvp5150: Fix open brace placement codding style 2018-05-04 15:51:49 -04:00
mmc media: move dvb kAPI headers to include/media 2017-12-28 13:16:01 -05:00
pci media: intel-ipu3: cio2: Handle IRQs until INT_STS is cleared 2018-05-09 15:45:08 -04:00
platform media: vcodec: fix ptr_ret.cocci warnings 2018-05-09 15:58:30 -04:00
radio media: radio: allow building ISA drivers with COMPILE_TEST 2018-05-04 09:08:16 -04:00
rc media: rc: allow build pnp-dependent drivers with COMPILE_TEST 2018-05-04 09:47:45 -04:00
spi media: cxd2880-spi: Modified how to declare structure 2018-05-05 10:37:12 -04:00
tuners media: tuners: add new i2c driver for Sharp qm1d1b0004 ISDB-S tuner 2018-05-05 07:21:09 -04:00
usb media: cx231xx: Fix recursive dependency 2018-05-05 11:43:33 -04:00
v4l2-core media: v4l2-core: Rename array 'video_driver' to 'video_drivers' 2018-05-09 15:57:30 -04:00
Kconfig media updates for v4.17-rc1 2018-04-03 17:16:59 -07:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
media-device.c media: zero reservedX fields in media_v2_topology 2018-02-26 09:47:53 -05:00
media-devnode.c vfs: do bulk POLL* -> EPOLL* replacement 2018-02-11 14:34:03 -08:00
media-entity.c media: media.h: reorganize header to make it easier to understand 2018-02-26 10:14:46 -05:00