* [PATCH 0/3] gpio: tb10x: W=1 warning fix and style cleanups
@ 2026-06-18 15:56 Igor Putko
2026-06-18 15:56 ` [PATCH 1/3] gpio: tb10x: fix struct tb10x_gpio kernel-doc Igor Putko
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: Igor Putko @ 2026-06-18 15:56 UTC (permalink / raw)
To: Linus Walleij, Bartosz Golaszewski; +Cc: linux-gpio, linux-kernel, Igor Putko
This series fixes a kernel-doc warning in the tb10x GPIO driver
and addresses two minor checkpatch.pl coding style issues.
Patch 1 fixes the kernel-doc structure formatting.
Patch 2 replaces bare unsigned with unsigned int.
Patch 3 removes unnecessary braces from a single-statement block.
Igor Putko (3):
gpio: tb10x: fix struct tb10x_gpio kernel-doc
gpio: tb10x: use unsigned int instead of bare unsigned
gpio: tb10x: remove unnecessary braces
drivers/gpio/gpio-tb10x.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--
2.34.1
^ permalink raw reply [flat|nested] 7+ messages in thread* [PATCH 1/3] gpio: tb10x: fix struct tb10x_gpio kernel-doc
2026-06-18 15:56 [PATCH 0/3] gpio: tb10x: W=1 warning fix and style cleanups Igor Putko
@ 2026-06-18 15:56 ` Igor Putko
2026-06-18 15:56 ` [PATCH 2/3] gpio: tb10x: use unsigned int instead of bare unsigned Igor Putko
2026-06-22 8:14 ` (subset) [PATCH 0/3] gpio: tb10x: W=1 warning fix and style cleanups Bartosz Golaszewski
` (2 subsequent siblings)
3 siblings, 1 reply; 7+ messages in thread
From: Igor Putko @ 2026-06-18 15:56 UTC (permalink / raw)
To: Linus Walleij, Bartosz Golaszewski; +Cc: linux-gpio, linux-kernel, Igor Putko
Fix build warning by adding the missing structure name and
description to the kernel-doc comment block.
Signed-off-by: Igor Putko <igorpetindev@gmail.com>
---
drivers/gpio/gpio-tb10x.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpio/gpio-tb10x.c b/drivers/gpio/gpio-tb10x.c
index 3c8fd322a713..705bfd80a8d0 100644
--- a/drivers/gpio/gpio-tb10x.c
+++ b/drivers/gpio/gpio-tb10x.c
@@ -33,6 +33,7 @@
/**
+ * struct tb10x_gpio - TB10x GPIO controller structure
* @base: register base address
* @domain: IRQ domain of GPIO generated interrupts managed by this controller
* @irq: Interrupt line of parent interrupt controller
--
2.34.1
^ permalink raw reply [flat|nested] 7+ messages in thread* [PATCH 2/3] gpio: tb10x: use unsigned int instead of bare unsigned
2026-06-18 15:56 ` [PATCH 1/3] gpio: tb10x: fix struct tb10x_gpio kernel-doc Igor Putko
@ 2026-06-18 15:56 ` Igor Putko
2026-06-18 15:56 ` [PATCH 3/3] gpio: tb10x: remove unnecessary braces Igor Putko
0 siblings, 1 reply; 7+ messages in thread
From: Igor Putko @ 2026-06-18 15:56 UTC (permalink / raw)
To: Linus Walleij, Bartosz Golaszewski; +Cc: linux-gpio, linux-kernel, Igor Putko
Fix the checkpatch.pl warning by using 'unsigned int' instead of
the bare use of 'unsigned' for the offset parameter in
tb10x_gpio_to_irq().
Signed-off-by: Igor Putko <igorpetindev@gmail.com>
---
drivers/gpio/gpio-tb10x.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpio/gpio-tb10x.c b/drivers/gpio/gpio-tb10x.c
index 705bfd80a8d0..d30524dbc841 100644
--- a/drivers/gpio/gpio-tb10x.c
+++ b/drivers/gpio/gpio-tb10x.c
@@ -51,7 +51,7 @@ static inline u32 tb10x_reg_read(struct tb10x_gpio *gpio, unsigned int offs)
return ioread32(gpio->base + offs);
}
-static int tb10x_gpio_to_irq(struct gpio_chip *chip, unsigned offset)
+static int tb10x_gpio_to_irq(struct gpio_chip *chip, unsigned int offset)
{
struct tb10x_gpio *tb10x_gpio = gpiochip_get_data(chip);
--
2.34.1
^ permalink raw reply [flat|nested] 7+ messages in thread* [PATCH 3/3] gpio: tb10x: remove unnecessary braces
2026-06-18 15:56 ` [PATCH 2/3] gpio: tb10x: use unsigned int instead of bare unsigned Igor Putko
@ 2026-06-18 15:56 ` Igor Putko
0 siblings, 0 replies; 7+ messages in thread
From: Igor Putko @ 2026-06-18 15:56 UTC (permalink / raw)
To: Linus Walleij, Bartosz Golaszewski; +Cc: linux-gpio, linux-kernel, Igor Putko
Fix the checkpatch.pl warning by removing unnecessary braces from
a single-statement if-block in tb10x_gpio_probe().
Signed-off-by: Igor Putko <igorpetindev@gmail.com>
---
drivers/gpio/gpio-tb10x.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpio/gpio-tb10x.c b/drivers/gpio/gpio-tb10x.c
index d30524dbc841..7fb8e6223bd1 100644
--- a/drivers/gpio/gpio-tb10x.c
+++ b/drivers/gpio/gpio-tb10x.c
@@ -167,9 +167,8 @@ static int tb10x_gpio_probe(struct platform_device *pdev)
tb10x_gpio->domain = irq_domain_create_linear(dev_fwnode(dev),
tb10x_gpio->chip.gc.ngpio,
&irq_generic_chip_ops, NULL);
- if (!tb10x_gpio->domain) {
+ if (!tb10x_gpio->domain)
return -ENOMEM;
- }
ret = irq_alloc_domain_generic_chips(tb10x_gpio->domain,
tb10x_gpio->chip.gc.ngpio, 1, tb10x_gpio->chip.gc.label,
--
2.34.1
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: (subset) [PATCH 0/3] gpio: tb10x: W=1 warning fix and style cleanups
2026-06-18 15:56 [PATCH 0/3] gpio: tb10x: W=1 warning fix and style cleanups Igor Putko
2026-06-18 15:56 ` [PATCH 1/3] gpio: tb10x: fix struct tb10x_gpio kernel-doc Igor Putko
@ 2026-06-22 8:14 ` Bartosz Golaszewski
2026-06-26 7:59 ` Bartosz Golaszewski
2026-06-30 12:51 ` Linus Walleij
3 siblings, 0 replies; 7+ messages in thread
From: Bartosz Golaszewski @ 2026-06-22 8:14 UTC (permalink / raw)
To: Linus Walleij, Bartosz Golaszewski, Igor Putko
Cc: Bartosz Golaszewski, linux-gpio, linux-kernel
On Thu, 18 Jun 2026 18:56:23 +0300, Igor Putko wrote:
> This series fixes a kernel-doc warning in the tb10x GPIO driver
> and addresses two minor checkpatch.pl coding style issues.
>
> Patch 1 fixes the kernel-doc structure formatting.
> Patch 2 replaces bare unsigned with unsigned int.
> Patch 3 removes unnecessary braces from a single-statement block.
>
> [...]
Applied, thanks!
[1/3] gpio: tb10x: fix struct tb10x_gpio kernel-doc
https://git.kernel.org/brgl/c/9068c631d5af20000d873e4f299fa0bac4e294d9
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: (subset) [PATCH 0/3] gpio: tb10x: W=1 warning fix and style cleanups
2026-06-18 15:56 [PATCH 0/3] gpio: tb10x: W=1 warning fix and style cleanups Igor Putko
2026-06-18 15:56 ` [PATCH 1/3] gpio: tb10x: fix struct tb10x_gpio kernel-doc Igor Putko
2026-06-22 8:14 ` (subset) [PATCH 0/3] gpio: tb10x: W=1 warning fix and style cleanups Bartosz Golaszewski
@ 2026-06-26 7:59 ` Bartosz Golaszewski
2026-06-30 12:51 ` Linus Walleij
3 siblings, 0 replies; 7+ messages in thread
From: Bartosz Golaszewski @ 2026-06-26 7:59 UTC (permalink / raw)
To: Linus Walleij, Bartosz Golaszewski, Igor Putko
Cc: Bartosz Golaszewski, linux-gpio, linux-kernel
On Thu, 18 Jun 2026 18:56:23 +0300, Igor Putko wrote:
> This series fixes a kernel-doc warning in the tb10x GPIO driver
> and addresses two minor checkpatch.pl coding style issues.
>
> Patch 1 fixes the kernel-doc structure formatting.
> Patch 2 replaces bare unsigned with unsigned int.
> Patch 3 removes unnecessary braces from a single-statement block.
>
> [...]
Applied, thanks!
[2/3] gpio: tb10x: use unsigned int instead of bare unsigned
https://git.kernel.org/brgl/c/23cf763ac5d084f9459a10a9fece9cb1ddc023d9
[3/3] gpio: tb10x: remove unnecessary braces
https://git.kernel.org/brgl/c/309f81de06c00c12a41e318633e1d1d0c9d67e2c
Best regards,
--
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [PATCH 0/3] gpio: tb10x: W=1 warning fix and style cleanups
2026-06-18 15:56 [PATCH 0/3] gpio: tb10x: W=1 warning fix and style cleanups Igor Putko
` (2 preceding siblings ...)
2026-06-26 7:59 ` Bartosz Golaszewski
@ 2026-06-30 12:51 ` Linus Walleij
3 siblings, 0 replies; 7+ messages in thread
From: Linus Walleij @ 2026-06-30 12:51 UTC (permalink / raw)
To: Igor Putko; +Cc: Bartosz Golaszewski, linux-gpio, linux-kernel
On Thu, Jun 18, 2026 at 4:56 PM Igor Putko <igorpetindev@gmail.com> wrote:
> This series fixes a kernel-doc warning in the tb10x GPIO driver
> and addresses two minor checkpatch.pl coding style issues.
>
> Patch 1 fixes the kernel-doc structure formatting.
> Patch 2 replaces bare unsigned with unsigned int.
> Patch 3 removes unnecessary braces from a single-statement block.
Patches 2 & 3 applied, a different version of patch 1 was
already applied.
Yours,
Linus Walleij
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2026-06-30 12:51 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-18 15:56 [PATCH 0/3] gpio: tb10x: W=1 warning fix and style cleanups Igor Putko
2026-06-18 15:56 ` [PATCH 1/3] gpio: tb10x: fix struct tb10x_gpio kernel-doc Igor Putko
2026-06-18 15:56 ` [PATCH 2/3] gpio: tb10x: use unsigned int instead of bare unsigned Igor Putko
2026-06-18 15:56 ` [PATCH 3/3] gpio: tb10x: remove unnecessary braces Igor Putko
2026-06-22 8:14 ` (subset) [PATCH 0/3] gpio: tb10x: W=1 warning fix and style cleanups Bartosz Golaszewski
2026-06-26 7:59 ` Bartosz Golaszewski
2026-06-30 12:51 ` Linus Walleij
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®