* [android-common:android13-5.10 1/1] drivers/android/binder.c:1373:70: sparse: sparse: Using plain integer as NULL pointer
@ 2026-01-03 20:02 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-01-03 20:02 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
tree: https://android.googlesource.com/kernel/common android13-5.10
head: a0f93b828ee5433c5b427d8122a6dda0b514d985
commit: 35014985c266face161f6d107f8d8338e02a0b2d [1/1] ANDROID: vendor_hooks: Add hooks for binder proc transaction
config: arm64-randconfig-r122-20251224 (https://download.01.org/0day-ci/archive/20260104/202601040303.lt0kVb1G-lkp@intel.com/config)
compiler: aarch64-linux-gcc (GCC) 12.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260104/202601040303.lt0kVb1G-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202601040303.lt0kVb1G-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/android/binder.c:1373:70: sparse: sparse: Using plain integer as NULL pointer
drivers/android/binder.c:2508:41: sparse: sparse: Using plain integer as NULL pointer
drivers/android/binder.c:4580:24: sparse: sparse: incorrect type in return expression (different base types) @@ expected restricted __poll_t @@ got int @@
drivers/android/binder.c:4580:24: sparse: expected restricted __poll_t
drivers/android/binder.c:4580:24: sparse: got int
vim +1373 drivers/android/binder.c
1363
1364 /**
1365 * binder_free_ref() - free the binder_ref
1366 * @ref: ref to free
1367 *
1368 * Free the binder_ref. Free the binder_node indicated by ref->node
1369 * (if non-NULL) and the binder_ref_death indicated by ref->death.
1370 */
1371 static void binder_free_ref(struct binder_ref *ref)
1372 {
> 1373 trace_android_vh_binder_del_ref(ref->proc ? ref->proc->tsk : 0, ref->data.desc);
1374 if (ref->node)
1375 binder_free_node(ref->node);
1376 kfree(ref->death);
1377 kfree(ref);
1378 }
1379
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
* [android-common:android13-5.10 1/1] drivers/android/binder.c:1373:70: sparse: sparse: Using plain integer as NULL pointer
@ 2026-09-19 3:56 kernel test robot
0 siblings, 0 replies; 2+ messages in thread
From: kernel test robot @ 2026-09-19 3:56 UTC (permalink / raw)
To: cros-kernel-buildreports; +Cc: oe-kbuild-all
tree: https://android.googlesource.com/kernel/common android13-5.10
head: 428b47f4651829663d19455bcf5132040b155e86
commit: 35014985c266face161f6d107f8d8338e02a0b2d [1/1] ANDROID: vendor_hooks: Add hooks for binder proc transaction
config: i386-randconfig-r1307-20260917 (https://download.01.org/0day-ci/archive/20260919/202609191123.4VCCJsjt-lkp@intel.com/config)
compiler: gcc-13 (Debian 13.3.0-16) 13.3.0
sparse: v0.6.5-rc1
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260919/202609191123.4VCCJsjt-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202609191123.4VCCJsjt-lkp@intel.com/
sparse warnings: (new ones prefixed by >>)
>> drivers/android/binder.c:1373:70: sparse: sparse: Using plain integer as NULL pointer
drivers/android/binder.c:2508:41: sparse: sparse: Using plain integer as NULL pointer
drivers/android/binder.c:4580:24: sparse: sparse: incorrect type in return expression (different base types) @@ expected restricted __poll_t @@ got int @@
drivers/android/binder.c:4580:24: sparse: expected restricted __poll_t
drivers/android/binder.c:4580:24: sparse: got int
vim +1373 drivers/android/binder.c
1363
1364 /**
1365 * binder_free_ref() - free the binder_ref
1366 * @ref: ref to free
1367 *
1368 * Free the binder_ref. Free the binder_node indicated by ref->node
1369 * (if non-NULL) and the binder_ref_death indicated by ref->death.
1370 */
1371 static void binder_free_ref(struct binder_ref *ref)
1372 {
> 1373 trace_android_vh_binder_del_ref(ref->proc ? ref->proc->tsk : 0, ref->data.desc);
1374 if (ref->node)
1375 binder_free_node(ref->node);
1376 kfree(ref->death);
1377 kfree(ref);
1378 }
1379
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-09-19 3:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-19 3:56 [android-common:android13-5.10 1/1] drivers/android/binder.c:1373:70: sparse: sparse: Using plain integer as NULL pointer kernel test robot
-- strict thread matches above, loose matches on Subject: below --
2026-01-03 20:02 kernel test robot
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.