[tobetter:odroid-5.15.y 21/75] drivers/char/exynos-gpiomem.c:231:9-13: ERROR: reference preceded by free on line 229 (fwd)

From: Julia Lawall
Date: Wed Nov 03 2021 - 12:19:29 EST


Hello,

I forwarded the patch with respect to the owner field.

I didn't get any other information about the reference preceded by free
message, ubt you may want to check on it.

thanks,
julia

---------- Forwarded message ----------
Date: Wed, 3 Nov 2021 21:33:37 +0800
From: kernel test robot <lkp@xxxxxxxxx>
To: kbuild@xxxxxxxxxxxx
Cc: lkp@xxxxxxxxx, Julia Lawall <julia.lawall@xxxxxxx>
Subject: [tobetter:odroid-5.15.y 21/75] drivers/char/exynos-gpiomem.c:231:9-13:
ERROR: reference preceded by free on line 229

CC: kbuild-all@xxxxxxxxxxxx
CC: linux-kernel@xxxxxxxxxxxxxxx
TO: Brian Kim <brian.kim@xxxxxxxxxxxxxx>
CC: Dongjin Kim <tobetter@xxxxxxxxx>
CC: memeka <mihailescu2m@xxxxxxxxx>
CC: Yang Deokgyu <secugyu@xxxxxxxxx>

tree: https://github.com/tobetter/linux odroid-5.15.y
head: 49f1393b8740941fa5176620b302f25ab5f786dc
commit: 61f45d975621becb00c0aef303769f10428b9cd8 [21/75] ODROID-XU4: char: exynos: add /dev/gpiomem device for rootless user GPIO access
:::::: branch date: 4 hours ago
:::::: commit date: 6 hours ago
config: arm-randconfig-c023-20211103 (attached as .config)
compiler: arm-linux-gnueabi-gcc (GCC) 11.2.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@xxxxxxxxx>
Reported-by: Julia Lawall <julia.lawall@xxxxxxx>


cocci warnings: (new ones prefixed by >>)
>> drivers/char/exynos-gpiomem.c:231:9-13: ERROR: reference preceded by free on line 229
--
>> drivers/char/exynos-gpiomem.c:258:3-8: No need to set .owner here. The core will do it.

Please review and possibly fold the followup patch.

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@xxxxxxxxxxxx

Attachment: .config.gz
Description: application/gzip