[PATCH] ODROID-XU4: char: exynos: fix platform_no_drv_owner.cocci warnings

Krzysztof Kozlowski krzk at kernel.org
Tue Sep 8 06:04:16 EDT 2020


On Tue, Sep 08, 2020 at 11:39:51AM +0200, Julia Lawall wrote:
> No need to set .owner here. The core will do it.
> 
> Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
> 
> Fixes: be904257f8a9 ("ODROID-XU4: char: exynos: add /dev/gpiomem device for rootless user GPIO access")
> CC: Brian Kim <brian.kim at hardkernel.com>
> Signed-off-by: kernel test robot <lkp at intel.com>
> Signed-off-by: Julia Lawall <julia.lawall at inria.fr>

Hi,

This is a downstream tree with certain non-upstreamable patches, so
nothing to do here for me.

Best regards,
Krzysztof

> ---
> 
> I received some other warnings about this file, but with no details:
> 
> >> drivers/char/exynos-gpiomem.c:231:15-18: ERROR: inst is NULL but
> dereferenced.
> --
> >> drivers/char/exynos-gpiomem.c:231:9-13: ERROR: reference preceded by
> free on line 229
> 
> 
> tree:   https://github.com/tobetter/linux odroid-5.9.y
> head:   1118f1d60573bfbf1eb7ef079fa879a498ba4313
> commit: be904257f8a9bd689b360fa98d3ffc85bdbeb560 [53/69] ODROID-XU4: char: exynos: add /dev/gpiomem device for rootless user GPIO access
> :::::: branch date: 4 hours ago
> :::::: commit date: 4 hours ago
> 



More information about the linux-arm-kernel mailing list