of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/pinctrl/mvebu/pinctrl-dove.c |4
drivers/pinctrl/mvebu/pinctrl-kirkwood.c |4
drivers/pinctrl/mvebu/pinctrl-o
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma
---
drivers/pinctrl/mvebu/pinctrl-dove.c |4
drivers/pinctrl/mvebu/pinctrl-kirkwood.c |4
drivers/pinctrl/mvebu/pinctrl-orion.c|4
3 files
of_device_get_match_data could return NULL, and so can cause
a NULL pointer dereference later.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/gpu/drm/exynos/exynos_drm_dsi.c |4
drivers/gpu/drm/exynos/exynos_drm_fimd.c |4
drivers/gpu/drm/
of_device_get_match_data could return NULL, and so can cause
a NULL pointer dereference later.
Signed-off-by: Shailendra Verma
---
drivers/gpu/drm/exynos/exynos_drm_dsi.c |4
drivers/gpu/drm/exynos/exynos_drm_fimd.c |4
drivers/gpu/drm/exynos/exynos_hdmi.c |4
of_device_get_match_data could return NULL, and so can cause
a NULL pointer dereference later.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/memory/atmel-sdramc.c |4
1 file changed, 4 insertions(+)
diff --git a/drivers/memory/atmel-sdramc.c b/drivers/
of_device_get_match_data could return NULL, and so can cause
a NULL pointer dereference later.
Signed-off-by: Shailendra Verma
---
drivers/memory/atmel-sdramc.c |4
1 file changed, 4 insertions(+)
diff --git a/drivers/memory/atmel-sdramc.c b/drivers/memory/atmel-sdramc.c
index 12080b0
of_device_get_match_data could return NULL, and so can cause
a NULL pointer dereference later.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/usb/host/xhci-tegra.c |4
1 file changed, 4 insertions(+)
diff --git a/drivers/usb/host/xhci-tegra.c b/drivers/us
of_device_get_match_data could return NULL, and so can cause
a NULL pointer dereference later.
Signed-off-by: Shailendra Verma
---
drivers/usb/host/xhci-tegra.c |4
1 file changed, 4 insertions(+)
diff --git a/drivers/usb/host/xhci-tegra.c b/drivers/usb/host/xhci-tegra.c
index a59fafb
of_device_get_match_data could return NULL, and so can cause
a NULL pointer dereference later.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/thermal/imx_thermal.c |4
1 file changed, 4 insertions(+)
diff --git a/drivers/thermal/imx_thermal.c b/drivers/t
of_device_get_match_data could return NULL, and so can cause
a NULL pointer dereference later.
Signed-off-by: Shailendra Verma
---
drivers/thermal/imx_thermal.c |4
1 file changed, 4 insertions(+)
diff --git a/drivers/thermal/imx_thermal.c b/drivers/thermal/imx_thermal.c
index 06912f0
of_device_get_match_data could return NULL, and so can cause
a NULL pointer dereference later.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
sound/soc/samsung/i2s.c |7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/sound/soc/samsung/i2s.c b/sou
of_device_get_match_data could return NULL, and so can cause
a NULL pointer dereference later.
Signed-off-by: Shailendra Verma
---
sound/soc/samsung/i2s.c |7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/sound/soc/samsung/i2s.c b/sound/soc/samsung/i2s.c
index 7825bff
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/phy/phy-berlin-usb.c |5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/phy/phy-berlin-usb.c b/drivers/phy/phy-
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma
---
drivers/phy/phy-berlin-usb.c |5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/phy/phy-berlin-usb.c b/drivers/phy/phy-berlin-usb.c
index 2017751..c85c516
of_device_get_match_data could return NULL, and so can cause
a NULL pointer dereference later.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/video/fbdev/ssd1307fb.c |4
1 file changed, 4 insertions(+)
diff --git a/drivers/video/fbdev/ssd1307fb.c b/drivers
of_device_get_match_data could return NULL, and so can cause
a NULL pointer dereference later.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/i2c/busses/i2c-tegra.c |4
1 file changed, 4 insertions(+)
diff --git a/drivers/i2c/busses/i2c-tegra.c b/drive
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/pci/host/pcie-hisi.c |4
1 file changed, 4 insertions(+)
diff --git a/drivers/pci/host/pcie-hisi.c b/drivers/pci/host/pcie-
of_device_get_match_data could return NULL, and so can cause
a NULL pointer dereference later.
Signed-off-by: Shailendra Verma
---
drivers/video/fbdev/ssd1307fb.c |4
1 file changed, 4 insertions(+)
diff --git a/drivers/video/fbdev/ssd1307fb.c b/drivers/video/fbdev/ssd1307fb.c
index
of_device_get_match_data could return NULL, and so can cause
a NULL pointer dereference later.
Signed-off-by: Shailendra Verma
---
drivers/i2c/busses/i2c-tegra.c |4
1 file changed, 4 insertions(+)
diff --git a/drivers/i2c/busses/i2c-tegra.c b/drivers/i2c/busses/i2c-tegra.c
index
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma
---
drivers/pci/host/pcie-hisi.c |4
1 file changed, 4 insertions(+)
diff --git a/drivers/pci/host/pcie-hisi.c b/drivers/pci/host/pcie-hisi.c
index 56154c2..3256f8f
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/mtd/nand/mxc_nand.c |4
drivers/mtd/nand/vf610_nfc.c |4
2 files changed, 8 insertions(+)
diff --git a/drivers/mt
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma
---
drivers/mtd/nand/mxc_nand.c |4
drivers/mtd/nand/vf610_nfc.c |4
2 files changed, 8 insertions(+)
diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
arch/arm/plat-pxa/ssp.c |4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/plat-pxa/ssp.c b/arch/arm/plat-pxa/ssp.c
index b
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma
---
arch/arm/plat-pxa/ssp.c |4
1 file changed, 4 insertions(+)
diff --git a/arch/arm/plat-pxa/ssp.c b/arch/arm/plat-pxa/ssp.c
index ba13f79..7d1cd51 100644
--- a/arch
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/spi/spi-mxs.c |5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/spi/spi-mxs.c b/drivers/spi/spi-mxs.c
index 5
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma
---
drivers/spi/spi-mxs.c |5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/spi/spi-mxs.c b/drivers/spi/spi-mxs.c
index 5b0e9a3..c3aea7e 100644
--- a/drivers
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/gpu/drm/tegra/sor.c |4
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/tegra/sor.c b/drivers/gpu/drm/tegra
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma
---
drivers/gpu/drm/tegra/sor.c |4
1 file changed, 4 insertions(+)
diff --git a/drivers/gpu/drm/tegra/sor.c b/drivers/gpu/drm/tegra/sor.c
index 74d0540..34f032f
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/regulator/qcom_rpm-regulator.c |4
drivers/regulator/qcom_smd-regulator.c |4
2 files changed, 8 insertions(+)
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/pwm/pwm-sun4i.c |4
drivers/pwm/pwm-tegra.c |5 +
2 files changed, 9 insertions(+)
diff --git a/drivers/pwm/pwm-sun
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma
---
drivers/regulator/qcom_rpm-regulator.c |4
drivers/regulator/qcom_smd-regulator.c |4
2 files changed, 8 insertions(+)
diff --git a/drivers/regulator
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma
---
drivers/pwm/pwm-sun4i.c |4
drivers/pwm/pwm-tegra.c |5 +
2 files changed, 9 insertions(+)
diff --git a/drivers/pwm/pwm-sun4i.c b/drivers/pwm/pwm-sun4i.c
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/mmc/host/mxs-mmc.c |5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/mmc/host/mxs-mmc.c b/drivers/mmc/host/mxs
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma
---
drivers/mmc/host/mxs-mmc.c |5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/mmc/host/mxs-mmc.c b/drivers/mmc/host/mxs-mmc.c
index 44ecebd..d12a5b7 100644
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/iio/adc/mxs-lradc.c | 14 ++
drivers/iio/adc/rockchip_saradc.c |4
2 files changed, 14 insertions
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/mtd/nand/mxc_nand.c |4
drivers/mtd/nand/vf610_nfc.c |4
2 files changed, 8 insertions(+)
diff --git a/drivers/mt
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma
---
drivers/mtd/nand/mxc_nand.c |4
drivers/mtd/nand/vf610_nfc.c |4
2 files changed, 8 insertions(+)
diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma
---
drivers/iio/adc/mxs-lradc.c | 14 ++
drivers/iio/adc/rockchip_saradc.c |4
2 files changed, 14 insertions(+), 4 deletions(-)
diff --git
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/gpu/drm/rockchip/dw-mipi-dsi.c | 13 ++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/drivers/g
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma
---
drivers/gpu/drm/rockchip/dw-mipi-dsi.c | 13 ++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/drivers/gpu/drm/rockchip/dw-mipi-dsi.c
b/drivers
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/misc/eeprom/eeprom_93xx46.c |5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/misc/eeprom/eeprom_93xx46.c
b/driver
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma
---
drivers/misc/eeprom/eeprom_93xx46.c |5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/misc/eeprom/eeprom_93xx46.c
b/drivers/misc/eeprom/eeprom_93xx46.c
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/mtd/nand/mxc_nand.c |4
drivers/mtd/nand/vf610_nfc.c |4
2 files changed, 8 insertions(+)
diff --git a/drivers/mt
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma
---
drivers/mtd/nand/mxc_nand.c |4
drivers/mtd/nand/vf610_nfc.c |4
2 files changed, 8 insertions(+)
diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd
of_match_device could return NULL, and so cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/dma/mv_xor.c |5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/dma/mv_xor.c b/drivers/dma/mv_xor.c
of_match_device could return NULL, and so cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma
---
drivers/dma/mv_xor.c |5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/drivers/dma/mv_xor.c b/drivers/dma/mv_xor.c
index 23f7528..c25b3bb 100644
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/pinctrl/berlin/berlin-bg2.c |5 +
drivers/pinctrl/berlin/berlin-bg2cd.c |5 +
drivers/pinctrl/berlin/berlin-
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma
---
drivers/pinctrl/berlin/berlin-bg2.c |5 +
drivers/pinctrl/berlin/berlin-bg2cd.c |5 +
drivers/pinctrl/berlin/berlin-bg2q.c |5 +
drivers/pinctrl
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
sound/soc/davinci/davinci-evm.c | 13 ++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/sound/soc/davinci/d
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma
---
sound/soc/davinci/davinci-evm.c | 13 ++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/sound/soc/davinci/davinci-evm.c b/sound/soc/davinci
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/net/ethernet/mediatek/mtk_eth_soc.c |4
1 file changed, 4 insertions(+)
diff --git a/drivers/net/ethernet/mediatek/mtk_eth
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma
---
drivers/net/ethernet/mediatek/mtk_eth_soc.c |4
1 file changed, 4 insertions(+)
diff --git a/drivers/net/ethernet/mediatek/mtk_eth_soc.c
b/drivers/net/ethernet
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/soc/mediatek/mtk-pmic-wrap.c |5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/soc/mediatek/mtk-pmic-wrap.c
b/d
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma
---
drivers/soc/mediatek/mtk-pmic-wrap.c |5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/soc/mediatek/mtk-pmic-wrap.c
b/drivers/soc/mediatek/mtk-pmic-wrap.c
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/mfd/mc13xxx-i2c.c |4
drivers/mfd/mc13xxx-spi.c |5 -
2 files changed, 8 insertions(+), 1 deletion(-)
diff
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma
---
drivers/mfd/mc13xxx-i2c.c |4
drivers/mfd/mc13xxx-spi.c |5 -
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/drivers/mfd/mc13xxx-i2c.c b
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/tty/serial/max310x.c |4
1 file changed, 4 insertions(+)
diff --git a/drivers/tty/serial/max310x.c b/drivers/tty/serial/max
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma
---
drivers/tty/serial/max310x.c |4
1 file changed, 4 insertions(+)
diff --git a/drivers/tty/serial/max310x.c b/drivers/tty/serial/max310x.c
index 8a3e926..a94d147
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/bus/imx-weim.c | 13 ++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/drivers/bus/imx-weim.c b/drive
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma
---
drivers/bus/imx-weim.c | 13 ++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/drivers/bus/imx-weim.c b/drivers/bus/imx-weim.c
index 4bd361d
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/nvmem/imx-ocotp.c |5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/nvmem/imx-ocotp.c b/drivers/nvmem/imx-ocotp.c
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma
---
drivers/nvmem/imx-ocotp.c |5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/nvmem/imx-ocotp.c b/drivers/nvmem/imx-ocotp.c
index ac27b9b..150a117 100644
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/net/ethernet/freescale/fsl_pq_mdio.c | 13 ++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/drive
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/gpio/gpio-ge.c |5 +
drivers/gpio/gpio-mxs.c |5 +
2 files changed, 10 insertions(+)
diff --git a/drivers/gpio/gpi
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma
---
drivers/net/ethernet/freescale/fsl_pq_mdio.c | 13 ++---
1 file changed, 10 insertions(+), 3 deletions(-)
diff --git a/drivers/net/ethernet/freescale
of_match_device could return NULL, and so can cause a NULL
pointer dereference later.
Signed-off-by: Shailendra Verma
---
drivers/gpio/gpio-ge.c |5 +
drivers/gpio/gpio-mxs.c |5 +
2 files changed, 10 insertions(+)
diff --git a/drivers/gpio/gpio-ge.c b/drivers/gpio/gpio-ge.c
of_match_device could return NULL, and so cause a NULL pointer
dereference later.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/input/keyboard/tegra-kbc.c |5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/input/keyboard/tegra-kbc.c
b/drivers
of_match_device could return NULL, and so cause a NULL pointer
dereference later.
Signed-off-by: Shailendra Verma
---
drivers/input/keyboard/tegra-kbc.c |5 +
1 file changed, 5 insertions(+)
diff --git a/drivers/input/keyboard/tegra-kbc.c
b/drivers/input/keyboard/tegra-kbc.c
index
The File handle is not yet added in the vdev list.So no need to call
v4l2_fh_del(>fh)if it fails to create control.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/media/platform/sti/bdisp/bdisp-v4l2.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
d
The File handle is not yet added in the vdev list.So no need to call
v4l2_fh_del(>fh)if it fails to create control.
Signed-off-by: Shailendra Verma
---
drivers/media/platform/sti/bdisp/bdisp-v4l2.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/platf
The File handle is not yet added in the vfd list.So no need to call
v4l2_fh_del(>fh) if it fails to create control.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/media/platform/exynos-gsc/gsc-m2m.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
d
The File handle is not yet added in the vfd list.So no need to call
v4l2_fh_del(>fh) if it fails to create control.
Signed-off-by: Shailendra Verma
---
drivers/media/platform/exynos-gsc/gsc-m2m.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/platf
The File handle is not yet added in the vfd list.So no need to call
v4l2_fh_del(>fh) if it fails to create control.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/media/platform/exynos4-is/fimc-m2m.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
d
The File handle is not yet added in the vfd list.So no need to call
v4l2_fh_del(>fh) if it fails to create control.
Signed-off-by: Shailendra Verma
---
drivers/media/platform/exynos4-is/fimc-m2m.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/platf
The File handle is not yet added in the vdev list.So no need to call
v4l2_fh_del(>fh)if it fails to create control.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/media/platform/sti/bdisp/bdisp-v4l2.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
d
The File handle is not yet added in the vdev list.So no need to call
v4l2_fh_del(>fh)if it fails to create control.
Signed-off-by: Shailendra Verma
---
drivers/media/platform/sti/bdisp/bdisp-v4l2.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/platf
Both functions initialize the file handle with v4l2_fh_init()
and thus need to call clean up with v4l2_fh_exit() as appropriate.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/staging/media/omap4iss/iss_video.c |2 ++
1 file changed, 2 insertions(+)
diff
Both functions initialize the file handle with v4l2_fh_init()
and thus need to call clean up with v4l2_fh_exit() as appropriate.
Signed-off-by: Shailendra Verma
---
drivers/staging/media/omap4iss/iss_video.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/staging/media/omap4iss
v4l2_fh_init is already done.So call the v4l2_fh_exit in error condition
before returing from the function.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/media/platform/vsp1/vsp1_video.c |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/platfor
v4l2_fh_init is already done.So call the v4l2_fh_exit in error condition
before returing from the function.
Signed-off-by: Shailendra Verma
---
drivers/media/platform/vsp1/vsp1_video.c |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/platform/vsp1/vsp1_video.c
b/drivers
Both functions initialize the file handle with v4l2_fh_init()
and thus need to call clean up with v4l2_fh_exit() as appropriate.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/media/platform/omap3isp/ispvideo.c |2 ++
1 file changed, 2 insertions(+)
diff
Both functions initialize the file handle with v4l2_fh_init()
and thus need to call clean up with v4l2_fh_exit() as appropriate.
Signed-off-by: Shailendra Verma
---
drivers/media/platform/omap3isp/ispvideo.c |2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/media/platform
The File handle is not yet added in the vfd list.So no need to call
v4l2_fh_del(>fh) if it fails to create control.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/media/platform/exynos-gsc/gsc-m2m.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
d
The File handle is not yet added in the vfd list.So no need to call
v4l2_fh_del(>fh) if it fails to create control.
Signed-off-by: Shailendra Verma
---
drivers/media/platform/exynos-gsc/gsc-m2m.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/platf
The File handle is not yet added in the vfd list.So no need to call
v4l2_fh_del(>fh) if it fails to create control.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/media/platform/exynos4-is/fimc-m2m.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
d
The File handle is not yet added in the vfd list.So no need to call
v4l2_fh_del(>fh) if it fails to create control.
Signed-off-by: Shailendra Verma
---
drivers/media/platform/exynos4-is/fimc-m2m.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/platf
v4l2_fh_init is already done.So call the v4l2_fh_exit in error condition
before returing from the function.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/media/platform/vsp1/vsp1_video.c |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/platfor
v4l2_fh_init is already done.So call the v4l2_fh_exit in error condition
before returing from the function.
Signed-off-by: Shailendra Verma
---
drivers/media/platform/vsp1/vsp1_video.c |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/platform/vsp1/vsp1_video.c
b/drivers
Fix to avoid possible memory leak if the decoder initialization
got failed.Free the allocated memory for file handle object
before return in case decoder initialization fails.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/staging/media/davinci_vpfe/vpfe_video.c
Fix to avoid possible memory leak if the decoder initialization
got failed.Free the allocated memory for file handle object
before return in case decoder initialization fails.
Signed-off-by: Shailendra Verma
---
drivers/staging/media/davinci_vpfe/vpfe_video.c |3 +++
1 file changed, 3
The File handle is not yet added in the vfd list.So no need to call
v4l2_fh_del(>fh) if it fails to create control.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/media/platform/exynos-gsc/gsc-m2m.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
d
The File handle is not yet added in the vfd list.So no need to call
v4l2_fh_del(>fh) if it fails to create control.
Signed-off-by: Shailendra Verma
---
drivers/media/platform/exynos-gsc/gsc-m2m.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/platf
Fix to avoid possible memory leak if the decoder initialization got failed.
Free the allocated memory for file handle object before return in case
decoder initialization fails.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/media/platform/davinci/vpfe_capture.c
Fix to avoid possible memory leak if the decoder initialization got failed.
Free the allocated memory for file handle object before return in case
decoder initialization fails.
Signed-off-by: Shailendra Verma
---
drivers/media/platform/davinci/vpfe_capture.c |2 ++
1 file changed, 2
v4l2_fh_init is already done.So call the v4l2_fh_exit in error condition
before returing from the function.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/staging/media/omap4iss/iss_video.c |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging
v4l2_fh_init is already done.So call the v4l2_fh_exit in error condition
before returing from the function.
Signed-off-by: Shailendra Verma
---
drivers/staging/media/omap4iss/iss_video.c |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging/media/omap4iss/iss_video.c
b/drivers
The File handle is not yet added in the vdev list.So no need to call
v4l2_fh_del(>fh)if it fails to create control.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/media/platform/sti/bdisp/bdisp-v4l2.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
d
The File handle is not yet added in the vdev list.So no need to call
v4l2_fh_del(>fh)if it fails to create control.
Signed-off-by: Shailendra Verma
---
drivers/media/platform/sti/bdisp/bdisp-v4l2.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/media/platf
v4l2_fh_init is already done.So call the v4l2_fh_exit in error condition
before returing from the function.
Signed-off-by: Shailendra Verma <shailendr...@samsung.com>
---
drivers/media/platform/omap3isp/ispvideo.c |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/pl
v4l2_fh_init is already done.So call the v4l2_fh_exit in error condition
before returing from the function.
Signed-off-by: Shailendra Verma
---
drivers/media/platform/omap3isp/ispvideo.c |1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/media/platform/omap3isp/ispvideo.c
b/drivers
1 - 100 of 292 matches
Mail list logo