Re: [PATCH 0/5] gpio: aggregator: Fix Smatch warnings
From: Bartosz Golaszewski
Date: Mon Apr 14 2025 - 16:26:36 EST
On Sat, 12 Apr 2025 13:14:53 +0300, Dan Carpenter wrote:
> Fix some static checker warnings from Smatch:
> https://github.com/error27/smatch
>
> Dan Carpenter (5):
> gpio: aggregator: fix "_sysfs" prefix check in
> gpio_aggregator_make_group()
> gpio: aggregator: Fix gpio_aggregator_line_alloc() checking
> gpio: aggregator: Return an error if there are no GPIOs in
> gpio_aggregator_parse()
> gpio: aggregator: Fix error code in gpio_aggregator_activate()
> gpio: aggregator: Fix leak in gpio_aggregator_parse()
>
> [...]
Applied, thanks!
[1/5] gpio: aggregator: fix "_sysfs" prefix check in gpio_aggregator_make_group()
https://git.kernel.org/brgl/linux/c/eebfcb98cdc0228f5e1b7407f9db1c602bd8e545
[2/5] gpio: aggregator: Fix gpio_aggregator_line_alloc() checking
https://git.kernel.org/brgl/linux/c/2e8636ca340002f3ac31383622911a1aa75fb086
[3/5] gpio: aggregator: Return an error if there are no GPIOs in gpio_aggregator_parse()
https://git.kernel.org/brgl/linux/c/db1baf69e563fc222a75c0add5c76f437c717ac0
[4/5] gpio: aggregator: Fix error code in gpio_aggregator_activate()
https://git.kernel.org/brgl/linux/c/05b43de95add3d787a7a88378086bf01c10b3f40
[5/5] gpio: aggregator: Fix leak in gpio_aggregator_parse()
https://git.kernel.org/brgl/linux/c/d945ff52642d98eb6fa191f88a9cfde729129395
Best regards,
--
Bartosz Golaszewski <brgl@xxxxxxxx>