[PATCH] Pinctrl: mvebu - Fix possible NULL derefrence.

2017-01-29 Thread Shailendra Verma
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

[PATCH] Pinctrl: mvebu - Fix possible NULL derefrence.

2017-01-29 Thread Shailendra Verma
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

[PATCH] Gpu: drm: exynos - Fix possible NULL derefrence.

2017-01-29 Thread Shailendra Verma
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/

[PATCH] Gpu: drm: exynos - Fix possible NULL derefrence.

2017-01-29 Thread Shailendra Verma
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

[PATCH] Memory - Fix possible NULL derefrence.

2017-01-29 Thread Shailendra Verma
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/

[PATCH] Memory - Fix possible NULL derefrence.

2017-01-29 Thread Shailendra Verma
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

[PATCH] Usb: host - Fix possible NULL derefrence.

2017-01-29 Thread Shailendra Verma
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

[PATCH] Usb: host - Fix possible NULL derefrence.

2017-01-29 Thread Shailendra Verma
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

[PATCH] Thermal - Fix possible NULL derefrence.

2017-01-29 Thread Shailendra Verma
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

[PATCH] Thermal - Fix possible NULL derefrence.

2017-01-29 Thread Shailendra Verma
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

[PATCH] Sound: soc: samsung - Fix possible NULL derefrence.

2017-01-29 Thread Shailendra Verma
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

[PATCH] Sound: soc: samsung - Fix possible NULL derefrence.

2017-01-29 Thread Shailendra Verma
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

[PATCH] phy - Fix possible NULL derefrence.

2017-01-29 Thread Shailendra Verma
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-

[PATCH] phy - Fix possible NULL derefrence.

2017-01-29 Thread Shailendra Verma
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

[PATCH] Video: fbdev - Fix possible NULL derefrence.

2017-01-29 Thread Shailendra Verma
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

[PATCH] I2c: busses - Fix possible NULL derefrence.

2017-01-29 Thread Shailendra Verma
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

[PATCH] Pci: host - Fix possible NULL derefrence.

2017-01-29 Thread Shailendra Verma
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-

[PATCH] Video: fbdev - Fix possible NULL derefrence.

2017-01-29 Thread Shailendra Verma
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

[PATCH] I2c: busses - Fix possible NULL derefrence.

2017-01-29 Thread Shailendra Verma
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

[PATCH] Pci: host - Fix possible NULL derefrence.

2017-01-29 Thread Shailendra Verma
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

[PATCH] Mtd: nand - Fix possible NULL derefrence.

2017-01-29 Thread Shailendra Verma
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

[PATCH] Mtd: nand - Fix possible NULL derefrence.

2017-01-29 Thread Shailendra Verma
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

[PATCH] Arch: arm: plat-pxa - Fix possible NULL derefrence.

2017-01-29 Thread Shailendra Verma
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

[PATCH] Arch: arm: plat-pxa - Fix possible NULL derefrence.

2017-01-29 Thread Shailendra Verma
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

[PATCH] spi - Fix possible NULL derefrence.

2017-01-29 Thread Shailendra Verma
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

[PATCH] spi - Fix possible NULL derefrence.

2017-01-29 Thread Shailendra Verma
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

[PATCH] Gpu: drm: tegra - Fix possible NULL derefrence.

2017-01-29 Thread Shailendra Verma
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

[PATCH] Gpu: drm: tegra - Fix possible NULL derefrence.

2017-01-29 Thread Shailendra Verma
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

[PATCH] Regulator - Fix possible NULL derefrence.

2017-01-29 Thread Shailendra Verma
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(+)

[PATCH] pwm - Fix possible NULL derefrence.

2017-01-29 Thread Shailendra Verma
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

[PATCH] Regulator - Fix possible NULL derefrence.

2017-01-29 Thread Shailendra Verma
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

[PATCH] pwm - Fix possible NULL derefrence.

2017-01-29 Thread Shailendra Verma
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

[PATCH] Mmc: host - Fix possible NULL derefrence.

2017-01-29 Thread Shailendra Verma
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

[PATCH] Mmc: host - Fix possible NULL derefrence.

2017-01-29 Thread Shailendra Verma
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

[PATCH] iio: adc - Fix possible NULL derefrence.

2017-01-29 Thread Shailendra Verma
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

[PATCH] Mtd: nand - Fix possible NULL derefrence.

2017-01-29 Thread Shailendra Verma
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

[PATCH] Mtd: nand - Fix possible NULL derefrence.

2017-01-29 Thread Shailendra Verma
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

[PATCH] iio: adc - Fix possible NULL derefrence.

2017-01-29 Thread Shailendra Verma
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

[PATCH] Gpu: drm: rockchip - Fix possible NULL derefrence.

2017-01-27 Thread Shailendra Verma
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

[PATCH] Gpu: drm: rockchip - Fix possible NULL derefrence.

2017-01-27 Thread Shailendra Verma
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

[PATCH] Misc: eeprom - Fix possible NULL derefrence.

2017-01-27 Thread Shailendra Verma
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

[PATCH] Misc: eeprom - Fix possible NULL derefrence.

2017-01-27 Thread Shailendra Verma
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

[PATCH] Mtd: nand - Fix possible NULL derefrence.

2017-01-27 Thread Shailendra Verma
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

[PATCH] Mtd: nand - Fix possible NULL derefrence.

2017-01-27 Thread Shailendra Verma
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

[PATCH] Dma - Fix possible NULL derefrence.

2017-01-27 Thread Shailendra Verma
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

[PATCH] Dma - Fix possible NULL derefrence.

2017-01-27 Thread Shailendra Verma
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

[PATCH] Pinctrl : berlin - Fix possible NULL derefrence.

2017-01-27 Thread Shailendra Verma
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-

[PATCH] Pinctrl : berlin - Fix possible NULL derefrence.

2017-01-27 Thread Shailendra Verma
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

[PATCH] sound: soc: davinci - Fix possible NULL derefrence.

2017-01-27 Thread Shailendra Verma
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

[PATCH] sound: soc: davinci - Fix possible NULL derefrence.

2017-01-27 Thread Shailendra Verma
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

[PATCH] Net: ethernet: mediatek - Fix possible NULL derefrence.

2017-01-27 Thread Shailendra Verma
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

[PATCH] Net: ethernet: mediatek - Fix possible NULL derefrence.

2017-01-27 Thread Shailendra Verma
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

[PATCH] Soc: mediatek - Fix possible NULL derefrence.

2017-01-27 Thread Shailendra Verma
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

[PATCH] Soc: mediatek - Fix possible NULL derefrence.

2017-01-27 Thread Shailendra Verma
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

[PATCH] Mfd - Fix possible NULL derefrence.

2017-01-27 Thread Shailendra Verma
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

[PATCH] Mfd - Fix possible NULL derefrence.

2017-01-27 Thread Shailendra Verma
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

[PATCH] Tty: serial - Fix possible NULL derefrence.

2017-01-27 Thread Shailendra Verma
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

[PATCH] Tty: serial - Fix possible NULL derefrence.

2017-01-27 Thread Shailendra Verma
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

[PATCH] Bus - Fix possible NULL derefrence.

2017-01-27 Thread Shailendra Verma
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

[PATCH] Bus - Fix possible NULL derefrence.

2017-01-27 Thread Shailendra Verma
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

[PATCH] Nvmem - Fix possible NULL derefrence.

2017-01-27 Thread Shailendra Verma
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

[PATCH] Nvmem - Fix possible NULL derefrence.

2017-01-27 Thread Shailendra Verma
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

[PATCH] Net: ethernet: freescale - Fix possible NULL derefrence.

2017-01-27 Thread Shailendra Verma
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

[PATCH] Gpio - Fix possible NULL derefrence.

2017-01-27 Thread Shailendra Verma
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

[PATCH] Net: ethernet: freescale - Fix possible NULL derefrence.

2017-01-27 Thread Shailendra Verma
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

[PATCH] Gpio - Fix possible NULL derefrence.

2017-01-27 Thread Shailendra Verma
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

[PATCH] Input: tegra-kbc - Fix possible NULL derefrence.

2017-01-27 Thread Shailendra Verma
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

[PATCH] Input: tegra-kbc - Fix possible NULL derefrence.

2017-01-27 Thread Shailendra Verma
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

[PATCH] bdisp: Clean up file handle in open() error path.

2016-12-01 Thread Shailendra Verma
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

[PATCH] bdisp: Clean up file handle in open() error path.

2016-12-01 Thread Shailendra Verma
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

[PATCH] exynos-gsc: Clean up file handle in open() error path.

2016-12-01 Thread Shailendra Verma
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

[PATCH] exynos-gsc: Clean up file handle in open() error path.

2016-12-01 Thread Shailendra Verma
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

[PATCH] exynos4-is: Clean up file handle in open() error path.

2016-12-01 Thread Shailendra Verma
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

[PATCH] exynos4-is: Clean up file handle in open() error path.

2016-12-01 Thread Shailendra Verma
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

[PATCH] Platform: Sti: Bdisp: Clean up file handle in open() error path.

2016-11-30 Thread Shailendra Verma
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

[PATCH] Platform: Sti: Bdisp: Clean up file handle in open() error path.

2016-11-30 Thread Shailendra Verma
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

[PATCH] V4l: omap4iss: Clean up file handle in open() and release().

2016-11-30 Thread Shailendra Verma
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

[PATCH] V4l: omap4iss: Clean up file handle in open() and release().

2016-11-30 Thread Shailendra Verma
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

[PATCH] Platform: vsp1: Clean up file handle in open() error path.

2016-11-30 Thread Shailendra Verma
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

[PATCH] Platform: vsp1: Clean up file handle in open() error path.

2016-11-30 Thread Shailendra Verma
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

[PATCH] V4l: omap3isp: Clean up file handle in open() and release().

2016-11-30 Thread Shailendra Verma
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

[PATCH] V4l: omap3isp: Clean up file handle in open() and release().

2016-11-30 Thread Shailendra Verma
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

[PATCH] Platform: Exynos-gsc: Clean up file handle in open() error path.

2016-11-30 Thread Shailendra Verma
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

[PATCH] Platform: Exynos-gsc: Clean up file handle in open() error path.

2016-11-30 Thread Shailendra Verma
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

[PATCH] Platform: Exynos4-is: Clean up file handle in open() error path.

2016-11-30 Thread Shailendra Verma
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

[PATCH] Platform: Exynos4-is: Clean up file handle in open() error path.

2016-11-30 Thread Shailendra Verma
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

[PATCH] Media: platform: vsp1: - Do not forget to call

2016-11-24 Thread Shailendra Verma
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

[PATCH] Media: platform: vsp1: - Do not forget to call

2016-11-24 Thread Shailendra Verma
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

[PATCH] Staging: media: davinci_vpfe: - Fix for memory leak if decoder initialization fails.

2016-11-24 Thread Shailendra Verma
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

[PATCH] Staging: media: davinci_vpfe: - Fix for memory leak if decoder initialization fails.

2016-11-24 Thread Shailendra Verma
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

[PATCH] Media: Platform: Exynos-gsc: - Fix for error handling

2016-11-24 Thread Shailendra Verma
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

[PATCH] Media: Platform: Exynos-gsc: - Fix for error handling

2016-11-24 Thread Shailendra Verma
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

[PATCH] Staging: media: platform: davinci: - Fix for memory leak

2016-11-24 Thread Shailendra Verma
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

[PATCH] Staging: media: platform: davinci: - Fix for memory leak

2016-11-24 Thread Shailendra Verma
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

[PATCH] Staging: Media: Omap4iss: Do not forget to call

2016-11-24 Thread Shailendra Verma
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

[PATCH] Staging: Media: Omap4iss: Do not forget to call

2016-11-24 Thread Shailendra Verma
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

[PATCH] Media: Platform: Sti: Bdisp: - Fix for error handling

2016-11-24 Thread Shailendra Verma
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

[PATCH] Media: Platform: Sti: Bdisp: - Fix for error handling

2016-11-24 Thread Shailendra Verma
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

[PATCH] Media: Platform: Omap3isp: Do not forget to call

2016-11-24 Thread Shailendra Verma
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

[PATCH] Media: Platform: Omap3isp: Do not forget to call

2016-11-24 Thread Shailendra Verma
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   2   3   >