* [PATCH 26/36] power: supply: pm8916_lbc: remove conditional return with no effect
2026-07-23 18:45 [PATCH 00/36] treewide: remove conditional returns with no effect Sang-Heon Jeon
@ 2026-07-23 18:45 ` Sang-Heon Jeon
2026-07-23 18:45 ` [PATCH 31/36] thermal/drivers/k3_bandgap: " Sang-Heon Jeon
` (4 subsequent siblings)
5 siblings, 0 replies; 11+ messages in thread
From: Sang-Heon Jeon @ 2026-07-23 18:45 UTC (permalink / raw)
To: Julia.Lawall, Sebastian Reichel; +Cc: cocci, linux-kernel, linux-pm
Both branches of the check return the same value, so the check has
no effect. Remove it and return the value directly.
This is the result of running the Coccinelle script from
scripts/coccinelle/misc/cond_return_no_effect.cocci.
Signed-off-by: Sang-Heon Jeon <ekffu200098@gmail.com>
---
drivers/power/supply/pm8916_lbc.c | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
diff --git a/drivers/power/supply/pm8916_lbc.c b/drivers/power/supply/pm8916_lbc.c
index cdc4d78c4219..569f3f4b16fe 100644
--- a/drivers/power/supply/pm8916_lbc.c
+++ b/drivers/power/supply/pm8916_lbc.c
@@ -231,11 +231,9 @@ static int pm8916_lbc_charger_probe_dt(struct pm8916_lbc_charger *chg)
return ret;
/* Disable charger timeout. */
- ret = regmap_write(chg->regmap, chg->reg[LBC_CHGR] + PM8916_LBC_CHGR_TCHG_MAX_EN, 0x00);
- if (ret)
- return ret;
-
- return ret;
+ return regmap_write(chg->regmap,
+ chg->reg[LBC_CHGR] + PM8916_LBC_CHGR_TCHG_MAX_EN,
+ 0x00);
}
static const struct power_supply_desc pm8916_lbc_charger_psy_desc = {
--
2.43.0
^ permalink raw reply related [flat|nested] 11+ messages in thread* [PATCH 31/36] thermal/drivers/k3_bandgap: remove conditional return with no effect
2026-07-23 18:45 [PATCH 00/36] treewide: remove conditional returns with no effect Sang-Heon Jeon
2026-07-23 18:45 ` [PATCH 26/36] power: supply: pm8916_lbc: remove conditional return " Sang-Heon Jeon
@ 2026-07-23 18:45 ` Sang-Heon Jeon
2026-07-23 18:45 ` [PATCH 35/36] cpupower: " Sang-Heon Jeon
` (3 subsequent siblings)
5 siblings, 0 replies; 11+ messages in thread
From: Sang-Heon Jeon @ 2026-07-23 18:45 UTC (permalink / raw)
To: Julia.Lawall, Rafael J. Wysocki, Daniel Lezcano
Cc: cocci, linux-kernel, linux-pm, Lukasz Luba, Zhang Rui
Both branches of the check return the same value, so the check has
no effect. Remove it and return the value directly.
This is the result of running the Coccinelle script from
scripts/coccinelle/misc/cond_return_no_effect.cocci.
Signed-off-by: Sang-Heon Jeon <ekffu200098@gmail.com>
---
drivers/thermal/k3_bandgap.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/drivers/thermal/k3_bandgap.c b/drivers/thermal/k3_bandgap.c
index 678d6ed711b5..766fab7bcf1b 100644
--- a/drivers/thermal/k3_bandgap.c
+++ b/drivers/thermal/k3_bandgap.c
@@ -141,13 +141,8 @@ static int k3_bgp_read_temp(struct k3_thermal_data *devdata,
static int k3_thermal_get_temp(struct thermal_zone_device *tz, int *temp)
{
struct k3_thermal_data *data = thermal_zone_device_priv(tz);
- int ret = 0;
- ret = k3_bgp_read_temp(data, temp);
- if (ret)
- return ret;
-
- return ret;
+ return k3_bgp_read_temp(data, temp);
}
static const struct thermal_zone_device_ops k3_of_thermal_ops = {
--
2.43.0
^ permalink raw reply related [flat|nested] 11+ messages in thread* [PATCH 35/36] cpupower: remove conditional return with no effect
2026-07-23 18:45 [PATCH 00/36] treewide: remove conditional returns with no effect Sang-Heon Jeon
2026-07-23 18:45 ` [PATCH 26/36] power: supply: pm8916_lbc: remove conditional return " Sang-Heon Jeon
2026-07-23 18:45 ` [PATCH 31/36] thermal/drivers/k3_bandgap: " Sang-Heon Jeon
@ 2026-07-23 18:45 ` Sang-Heon Jeon
2026-07-24 21:48 ` [PATCH 00/36] treewide: remove conditional returns " Jakub Kicinski
` (2 subsequent siblings)
5 siblings, 0 replies; 11+ messages in thread
From: Sang-Heon Jeon @ 2026-07-23 18:45 UTC (permalink / raw)
To: Julia.Lawall, Thomas Renninger, Shuah Khan, John B. Wyatt IV,
John Kacur
Cc: cocci, linux-kernel, linux-pm
Both branches of the check return the same value, so the check has
no effect. Remove it and return the value directly.
This is the result of running the Coccinelle script from
scripts/coccinelle/misc/cond_return_no_effect.cocci.
Signed-off-by: Sang-Heon Jeon <ekffu200098@gmail.com>
---
tools/power/cpupower/utils/powercap-info.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/tools/power/cpupower/utils/powercap-info.c b/tools/power/cpupower/utils/powercap-info.c
index e53033488218..88a5edb76315 100644
--- a/tools/power/cpupower/utils/powercap-info.c
+++ b/tools/power/cpupower/utils/powercap-info.c
@@ -47,8 +47,6 @@ static int powercap_print_one_zone(struct powercap_zone *zone)
printf("\n");
- if (ret != 0)
- return ret;
return ret;
}
--
2.43.0
^ permalink raw reply related [flat|nested] 11+ messages in thread* Re: [PATCH 00/36] treewide: remove conditional returns with no effect
2026-07-23 18:45 [PATCH 00/36] treewide: remove conditional returns with no effect Sang-Heon Jeon
` (2 preceding siblings ...)
2026-07-23 18:45 ` [PATCH 35/36] cpupower: " Sang-Heon Jeon
@ 2026-07-24 21:48 ` Jakub Kicinski
2026-07-27 8:30 ` Jani Nikula
2026-07-24 23:35 ` (subset) " Sebastian Reichel
2026-07-27 12:12 ` Mark Brown
5 siblings, 1 reply; 11+ messages in thread
From: Jakub Kicinski @ 2026-07-24 21:48 UTC (permalink / raw)
To: Sang-Heon Jeon
Cc: Julia.Lawall, Alex Deucher, Alexander Shishkin, Alexandre Belloni,
Andrew Lunn, Andrew Morton, Arkadiusz Kubalewski, Borislav Petkov,
Christian König, Daniel Lezcano, David Airlie,
David S. Miller, Dmitry Torokhov, Eric Dumazet, Florian Westphal,
Greg Kroah-Hartman, Hans de Goede, Hans Verkuil, Heikki Krogerus,
Herbert Xu, Ilpo Järvinen, James E.J. Bottomley, Jani Nikula,
Jaroslav Kysela, Jason Gunthorpe, Jiri Pirko, Joerg Roedel (AMD),
Johan Hovold, Jonathan Cameron, Joonas Lahtinen, Julian Anastasov,
Leon Romanovsky, Liam Girdwood, Linus Walleij, Maarten Lankhorst,
Mark Brown, Martin K. Petersen, Matthew Sakai,
Mauro Carvalho Chehab, Maxime Ripard, Michael Turquette,
Mike Rapoport, Miri Korenblit, Nicolas Palix, Pablo Neira Ayuso,
Paolo Abeni, Ping-Ke Shih, Rafael J. Wysocki, Rodrigo Vivi,
Sebastian Reichel, Shuah Khan, Simona Vetter, Simon Horman,
Stephen Boyd, Steve French, Takashi Iwai, Thomas Renninger,
Thomas Zimmermann, Tony Luck, Tvrtko Ursulin, Vadim Fedorenko,
Vinod Koul, Will Deacon, Yazen Ghannam, cocci, amd-gfx, dmaengine,
dm-devel, dri-devel, intel-gfx, intel-wired-lan, iommu,
linux-cifs, linux-clk, linux-crypto, linux-edac, linux-gpio,
linux-iio, linux-input, linux-kernel, linux-media, linux-mm,
linux-pm, linux-rdma, linux-rtc, linux-s390, linux-scsi,
linux-sound, linux-usb, linux-wireless, lvs-devel, netdev,
netfilter-devel, nouveau, platform-driver-x86
On Fri, 24 Jul 2026 03:45:02 +0900 Sang-Heon Jeon wrote:
> Patch 1 adds a Coccinelle script that matches the pattern, including
> negation and constant-comparison variants. Where a local variable is
> assigned right before the check, the assignment and the two returns
> turn into a single return of the assigned expression.
Huh, I thought we already had such script. Various script children have
been sending such "cleanups" in the past.
> Patches 2-36 are generated by the script, with hand fixes to restore
> unexpectedly removed comments and to fix the formatting checkpatch.pl
> complained about.
Please post patches 4,7,8,9 as a separate series. Since you only CCed
netdev on subset of the series patchwork thinks there are patches
missing and doesn't kick off any CI.
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: [PATCH 00/36] treewide: remove conditional returns with no effect
2026-07-24 21:48 ` [PATCH 00/36] treewide: remove conditional returns " Jakub Kicinski
@ 2026-07-27 8:30 ` Jani Nikula
2026-07-27 11:08 ` Sang-Heon Jeon
0 siblings, 1 reply; 11+ messages in thread
From: Jani Nikula @ 2026-07-27 8:30 UTC (permalink / raw)
To: Jakub Kicinski, Sang-Heon Jeon
Cc: Julia.Lawall, Alex Deucher, Alexander Shishkin, Alexandre Belloni,
Andrew Lunn, Andrew Morton, Arkadiusz Kubalewski, Borislav Petkov,
Christian König, Daniel Lezcano, David Airlie,
David S. Miller, Dmitry Torokhov, Eric Dumazet, Florian Westphal,
Greg Kroah-Hartman, Hans de Goede, Hans Verkuil, Heikki Krogerus,
Herbert Xu, Ilpo Järvinen, James E.J. Bottomley,
Jaroslav Kysela, Jason Gunthorpe, Jiri Pirko, Joerg Roedel (AMD),
Johan Hovold, Jonathan Cameron, Joonas Lahtinen, Julian Anastasov,
Leon Romanovsky, Liam Girdwood, Linus Walleij, Maarten Lankhorst,
Mark Brown, Martin K. Petersen, Matthew Sakai,
Mauro Carvalho Chehab, Maxime Ripard, Michael Turquette,
Mike Rapoport, Miri Korenblit, Nicolas Palix, Pablo Neira Ayuso,
Paolo Abeni, Ping-Ke Shih, Rafael J. Wysocki, Rodrigo Vivi,
Sebastian Reichel, Shuah Khan, Simona Vetter, Simon Horman,
Stephen Boyd, Steve French, Takashi Iwai, Thomas Renninger,
Thomas Zimmermann, Tony Luck, Tvrtko Ursulin, Vadim Fedorenko,
Vinod Koul, Will Deacon, Yazen Ghannam, cocci, amd-gfx, dmaengine,
dm-devel, dri-devel, intel-gfx, intel-wired-lan, iommu,
linux-cifs, linux-clk, linux-crypto, linux-edac, linux-gpio,
linux-iio, linux-input, linux-kernel, linux-media, linux-mm,
linux-pm, linux-rdma, linux-rtc, linux-s390, linux-scsi,
linux-sound, linux-usb, linux-wireless, lvs-devel, netdev,
netfilter-devel, nouveau, platform-driver-x86
On Fri, 24 Jul 2026, Jakub Kicinski <kuba@kernel.org> wrote:
> On Fri, 24 Jul 2026 03:45:02 +0900 Sang-Heon Jeon wrote:
>> Patch 1 adds a Coccinelle script that matches the pattern, including
>> negation and constant-comparison variants. Where a local variable is
>> assigned right before the check, the assignment and the two returns
>> turn into a single return of the assigned expression.
>
> Huh, I thought we already had such script. Various script children have
> been sending such "cleanups" in the past.
We did, and it was removed, I believe in 1a617a8475e8 ("coccinelle:
misc: remove "complex return code" warnings"), because people just don't
want this constant churn.
It's perfectly fine to have the error case and happy day scenario
separated.
BR,
Jani.
--
Jani Nikula, Intel
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: [PATCH 00/36] treewide: remove conditional returns with no effect
2026-07-27 8:30 ` Jani Nikula
@ 2026-07-27 11:08 ` Sang-Heon Jeon
2026-07-27 11:36 ` Jani Nikula
0 siblings, 1 reply; 11+ messages in thread
From: Sang-Heon Jeon @ 2026-07-27 11:08 UTC (permalink / raw)
To: Jani Nikula
Cc: Jakub Kicinski, Julia.Lawall, Alex Deucher, Alexander Shishkin,
Alexandre Belloni, Andrew Lunn, Andrew Morton,
Arkadiusz Kubalewski, Borislav Petkov, Christian König,
Daniel Lezcano, David Airlie, David S. Miller, Dmitry Torokhov,
Eric Dumazet, Florian Westphal, Greg Kroah-Hartman, Hans de Goede,
Hans Verkuil, Heikki Krogerus, Herbert Xu, Ilpo Järvinen,
James E.J. Bottomley, Jaroslav Kysela, Jason Gunthorpe,
Jiri Pirko, Joerg Roedel (AMD), Johan Hovold, Jonathan Cameron,
Joonas Lahtinen, Julian Anastasov, Leon Romanovsky, Liam Girdwood,
Linus Walleij, Maarten Lankhorst, Mark Brown, Martin K. Petersen,
Matthew Sakai, Mauro Carvalho Chehab, Maxime Ripard,
Michael Turquette, Mike Rapoport, Miri Korenblit, Nicolas Palix,
Pablo Neira Ayuso, Paolo Abeni, Ping-Ke Shih, Rafael J. Wysocki,
Rodrigo Vivi, Sebastian Reichel, Shuah Khan, Simona Vetter,
Simon Horman, Stephen Boyd, Steve French, Takashi Iwai,
Thomas Renninger, Thomas Zimmermann, Tony Luck, Tvrtko Ursulin,
Vadim Fedorenko, Vinod Koul, Will Deacon, Yazen Ghannam, cocci,
amd-gfx, dmaengine, dm-devel, dri-devel, intel-gfx,
intel-wired-lan, iommu, linux-cifs, linux-clk, linux-crypto,
linux-edac, linux-gpio, linux-iio, linux-input, linux-kernel,
linux-media, linux-mm, linux-pm, linux-rdma, linux-rtc,
linux-s390, linux-scsi, linux-sound, linux-usb, linux-wireless,
lvs-devel, netdev, netfilter-devel, nouveau, platform-driver-x86
Hello,
On Mon, Jul 27, 2026 at 5:30 PM Jani Nikula <jani.nikula@linux.intel.com> wrote:
>
> On Fri, 24 Jul 2026, Jakub Kicinski <kuba@kernel.org> wrote:
> > On Fri, 24 Jul 2026 03:45:02 +0900 Sang-Heon Jeon wrote:
> >> Patch 1 adds a Coccinelle script that matches the pattern, including
> >> negation and constant-comparison variants. Where a local variable is
> >> assigned right before the check, the assignment and the two returns
> >> turn into a single return of the assigned expression.
> >
> > Huh, I thought we already had such script. Various script children have
> > been sending such "cleanups" in the past.
>
> We did, and it was removed, I believe in 1a617a8475e8 ("coccinelle:
> misc: remove "complex return code" warnings"), because people just don't
> want this constant churn.
>
> It's perfectly fine to have the error case and happy day scenario
> separated.
Thanks for sharing the history.
I checked the mailing list. The removed script looks similar to the
new one, but it is different. The removed script reported a
conditional return followed by an explicit return 0, where the error
case and happy day scenario are separated as you mentioned, and Johan
also complained about this 10 years ago.
But the new script only reports when both branches return the same
variable, not the explicit 0. So, I think the new script is close to
the restricted version that Julia mentioned 10 years ago, and it
should be acceptable.
>
> BR,
> Jani.
>
>
> --
> Jani Nikula, Intel
Best Regards,
Sang-Heon Jeon
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: [PATCH 00/36] treewide: remove conditional returns with no effect
2026-07-27 11:08 ` Sang-Heon Jeon
@ 2026-07-27 11:36 ` Jani Nikula
0 siblings, 0 replies; 11+ messages in thread
From: Jani Nikula @ 2026-07-27 11:36 UTC (permalink / raw)
To: Sang-Heon Jeon
Cc: Jakub Kicinski, Julia.Lawall, Alex Deucher, Alexander Shishkin,
Alexandre Belloni, Andrew Lunn, Andrew Morton,
Arkadiusz Kubalewski, Borislav Petkov, Christian König,
Daniel Lezcano, David Airlie, David S. Miller, Dmitry Torokhov,
Eric Dumazet, Florian Westphal, Greg Kroah-Hartman, Hans de Goede,
Hans Verkuil, Heikki Krogerus, Herbert Xu, Ilpo Järvinen,
James E.J. Bottomley, Jaroslav Kysela, Jason Gunthorpe,
Jiri Pirko, Joerg Roedel (AMD), Johan Hovold, Jonathan Cameron,
Joonas Lahtinen, Julian Anastasov, Leon Romanovsky, Liam Girdwood,
Linus Walleij, Maarten Lankhorst, Mark Brown, Martin K. Petersen,
Matthew Sakai, Mauro Carvalho Chehab, Maxime Ripard,
Michael Turquette, Mike Rapoport, Miri Korenblit, Nicolas Palix,
Pablo Neira Ayuso, Paolo Abeni, Ping-Ke Shih, Rafael J. Wysocki,
Rodrigo Vivi, Sebastian Reichel, Shuah Khan, Simona Vetter,
Simon Horman, Stephen Boyd, Steve French, Takashi Iwai,
Thomas Renninger, Thomas Zimmermann, Tony Luck, Tvrtko Ursulin,
Vadim Fedorenko, Vinod Koul, Will Deacon, Yazen Ghannam, cocci,
amd-gfx, dmaengine, dm-devel, dri-devel, intel-gfx,
intel-wired-lan, iommu, linux-cifs, linux-clk, linux-crypto,
linux-edac, linux-gpio, linux-iio, linux-input, linux-kernel,
linux-media, linux-mm, linux-pm, linux-rdma, linux-rtc,
linux-s390, linux-scsi, linux-sound, linux-usb, linux-wireless,
lvs-devel, netdev, netfilter-devel, nouveau, platform-driver-x86
On Mon, 27 Jul 2026, Sang-Heon Jeon <ekffu200098@gmail.com> wrote:
> Hello,
>
> On Mon, Jul 27, 2026 at 5:30 PM Jani Nikula <jani.nikula@linux.intel.com> wrote:
>>
>> On Fri, 24 Jul 2026, Jakub Kicinski <kuba@kernel.org> wrote:
>> > On Fri, 24 Jul 2026 03:45:02 +0900 Sang-Heon Jeon wrote:
>> >> Patch 1 adds a Coccinelle script that matches the pattern, including
>> >> negation and constant-comparison variants. Where a local variable is
>> >> assigned right before the check, the assignment and the two returns
>> >> turn into a single return of the assigned expression.
>> >
>> > Huh, I thought we already had such script. Various script children have
>> > been sending such "cleanups" in the past.
>>
>> We did, and it was removed, I believe in 1a617a8475e8 ("coccinelle:
>> misc: remove "complex return code" warnings"), because people just don't
>> want this constant churn.
>>
>> It's perfectly fine to have the error case and happy day scenario
>> separated.
>
> Thanks for sharing the history.
>
> I checked the mailing list. The removed script looks similar to the
> new one, but it is different. The removed script reported a
> conditional return followed by an explicit return 0, where the error
> case and happy day scenario are separated as you mentioned, and Johan
> also complained about this 10 years ago.
>
> But the new script only reports when both branches return the same
> variable, not the explicit 0. So, I think the new script is close to
> the restricted version that Julia mentioned 10 years ago, and it
> should be acceptable.
ret === 0 after an if (ret) return.
BR,
Jani.
>
>>
>> BR,
>> Jani.
>>
>>
>> --
>> Jani Nikula, Intel
>
> Best Regards,
> Sang-Heon Jeon
--
Jani Nikula, Intel
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: (subset) [PATCH 00/36] treewide: remove conditional returns with no effect
2026-07-23 18:45 [PATCH 00/36] treewide: remove conditional returns with no effect Sang-Heon Jeon
` (3 preceding siblings ...)
2026-07-24 21:48 ` [PATCH 00/36] treewide: remove conditional returns " Jakub Kicinski
@ 2026-07-24 23:35 ` Sebastian Reichel
2026-07-27 12:12 ` Mark Brown
5 siblings, 0 replies; 11+ messages in thread
From: Sebastian Reichel @ 2026-07-24 23:35 UTC (permalink / raw)
To: Julia.Lawall, Alex Deucher, Alexander Shishkin, Alexandre Belloni,
Andrew Lunn, Andrew Morton, Arkadiusz Kubalewski, Borislav Petkov,
Christian König, Daniel Lezcano, David Airlie,
David S. Miller, Dmitry Torokhov, Eric Dumazet, Florian Westphal,
Greg Kroah-Hartman, Hans de Goede, Hans Verkuil, Heikki Krogerus,
Herbert Xu, Ilpo Järvinen, Jakub Kicinski,
James E.J. Bottomley, Jani Nikula, Jaroslav Kysela,
Jason Gunthorpe, Jiri Pirko, Joerg Roedel (AMD), Johan Hovold,
Jonathan Cameron, Joonas Lahtinen, Julian Anastasov,
Leon Romanovsky, Liam Girdwood, Linus Walleij, Maarten Lankhorst,
Mark Brown, Martin K. Petersen, Matthew Sakai,
Mauro Carvalho Chehab, Maxime Ripard, Michael Turquette,
Mike Rapoport, Miri Korenblit, Nicolas Palix, Pablo Neira Ayuso,
Paolo Abeni, Ping-Ke Shih, Rafael J. Wysocki, Rodrigo Vivi,
Sebastian Reichel, Shuah Khan, Simona Vetter, Simon Horman,
Stephen Boyd, Steve French, Takashi Iwai, Thomas Renninger,
Thomas Zimmermann, Tony Luck, Tvrtko Ursulin, Vadim Fedorenko,
Vinod Koul, Will Deacon, Yazen Ghannam, Sang-Heon Jeon
Cc: cocci, amd-gfx, dmaengine, dm-devel, dri-devel, intel-gfx,
intel-wired-lan, iommu, linux-cifs, linux-clk, linux-crypto,
linux-edac, linux-gpio, linux-iio, linux-input, linux-kernel,
linux-media, linux-mm, linux-pm, linux-rdma, linux-rtc,
linux-s390, linux-scsi, linux-sound, linux-usb, linux-wireless,
lvs-devel, netdev, netfilter-devel, nouveau, platform-driver-x86
On Fri, 24 Jul 2026 03:45:02 +0900, Sang-Heon Jeon wrote:
> While reading mm/memblock, I found a conditional return where both
> branches return the same value:
>
> err = do_something();
> if (err)
> return err;
> return err;
>
> [...]
Applied, thanks!
[26/36] power: supply: pm8916_lbc: remove conditional return with no effect
commit: b7c8d46411317f135e7791c0eddc56691de63f07
Best regards,
--
Sebastian Reichel <sebastian.reichel@collabora.com>
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: [PATCH 00/36] treewide: remove conditional returns with no effect
2026-07-23 18:45 [PATCH 00/36] treewide: remove conditional returns with no effect Sang-Heon Jeon
` (4 preceding siblings ...)
2026-07-24 23:35 ` (subset) " Sebastian Reichel
@ 2026-07-27 12:12 ` Mark Brown
2026-07-27 12:59 ` Sang-Heon Jeon
5 siblings, 1 reply; 11+ messages in thread
From: Mark Brown @ 2026-07-27 12:12 UTC (permalink / raw)
To: Sang-Heon Jeon
Cc: Julia.Lawall, Alex Deucher, Alexander Shishkin, Alexandre Belloni,
Andrew Lunn, Andrew Morton, Arkadiusz Kubalewski, Borislav Petkov,
Christian König, Daniel Lezcano, David Airlie,
David S. Miller, Dmitry Torokhov, Eric Dumazet, Florian Westphal,
Greg Kroah-Hartman, Hans de Goede, Hans Verkuil, Heikki Krogerus,
Herbert Xu, Ilpo Järvinen, Jakub Kicinski,
James E.J. Bottomley, Jani Nikula, Jaroslav Kysela,
Jason Gunthorpe, Jiri Pirko, Joerg Roedel (AMD), Johan Hovold,
Jonathan Cameron, Joonas Lahtinen, Julian Anastasov,
Leon Romanovsky, Liam Girdwood, Linus Walleij, Maarten Lankhorst,
Martin K. Petersen, Matthew Sakai, Mauro Carvalho Chehab,
Maxime Ripard, Michael Turquette, Mike Rapoport, Miri Korenblit,
Nicolas Palix, Pablo Neira Ayuso, Paolo Abeni, Ping-Ke Shih,
Rafael J. Wysocki, Rodrigo Vivi, Sebastian Reichel, Shuah Khan,
Simona Vetter, Simon Horman, Stephen Boyd, Steve French,
Takashi Iwai, Thomas Renninger, Thomas Zimmermann, Tony Luck,
Tvrtko Ursulin, Vadim Fedorenko, Vinod Koul, Will Deacon,
Yazen Ghannam, cocci, amd-gfx, dmaengine, dm-devel, dri-devel,
intel-gfx, intel-wired-lan, iommu, linux-cifs, linux-clk,
linux-crypto, linux-edac, linux-gpio, linux-iio, linux-input,
linux-kernel, linux-media, linux-mm, linux-pm, linux-rdma,
linux-rtc, linux-s390, linux-scsi, linux-sound, linux-usb,
linux-wireless, lvs-devel, netdev, netfilter-devel, nouveau,
platform-driver-x86
[-- Attachment #1: Type: text/plain, Size: 460 bytes --]
On Fri, Jul 24, 2026 at 03:45:02AM +0900, Sang-Heon Jeon wrote:
> All patches are independent and can be applied separately, but for
> everyone's convenience, it would be nice if they were merged through
> a single tree.
Please don't do this, it does not make anything more convenient - it
results in huge CC lists and makes it more difficult to work out who
will actually apply things. If there's no dependencies just send to
each subsystem independently.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: [PATCH 00/36] treewide: remove conditional returns with no effect
2026-07-27 12:12 ` Mark Brown
@ 2026-07-27 12:59 ` Sang-Heon Jeon
0 siblings, 0 replies; 11+ messages in thread
From: Sang-Heon Jeon @ 2026-07-27 12:59 UTC (permalink / raw)
To: Mark Brown
Cc: Julia.Lawall, Alex Deucher, Alexander Shishkin, Alexandre Belloni,
Andrew Lunn, Andrew Morton, Arkadiusz Kubalewski, Borislav Petkov,
Christian König, Daniel Lezcano, David Airlie,
David S. Miller, Dmitry Torokhov, Eric Dumazet, Florian Westphal,
Greg Kroah-Hartman, Hans de Goede, Hans Verkuil, Heikki Krogerus,
Herbert Xu, Ilpo Järvinen, Jakub Kicinski,
James E.J. Bottomley, Jani Nikula, Jaroslav Kysela,
Jason Gunthorpe, Jiri Pirko, Joerg Roedel (AMD), Johan Hovold,
Jonathan Cameron, Joonas Lahtinen, Julian Anastasov,
Leon Romanovsky, Liam Girdwood, Linus Walleij, Maarten Lankhorst,
Martin K. Petersen, Matthew Sakai, Mauro Carvalho Chehab,
Maxime Ripard, Michael Turquette, Mike Rapoport, Miri Korenblit,
Nicolas Palix, Pablo Neira Ayuso, Paolo Abeni, Ping-Ke Shih,
Rafael J. Wysocki, Rodrigo Vivi, Sebastian Reichel, Shuah Khan,
Simona Vetter, Simon Horman, Stephen Boyd, Steve French,
Takashi Iwai, Thomas Renninger, Thomas Zimmermann, Tony Luck,
Tvrtko Ursulin, Vadim Fedorenko, Vinod Koul, Will Deacon,
Yazen Ghannam, cocci, amd-gfx, dmaengine, dm-devel, dri-devel,
intel-gfx, intel-wired-lan, iommu, linux-cifs, linux-clk,
linux-crypto, linux-edac, linux-gpio, linux-iio, linux-input,
linux-kernel, linux-media, linux-mm, linux-pm, linux-rdma,
linux-rtc, linux-s390, linux-scsi, linux-sound, linux-usb,
linux-wireless, lvs-devel, netdev, netfilter-devel, nouveau,
platform-driver-x86
On Mon, Jul 27, 2026 at 9:12 PM Mark Brown <broonie@kernel.org> wrote:
>
> On Fri, Jul 24, 2026 at 03:45:02AM +0900, Sang-Heon Jeon wrote:
>
> > All patches are independent and can be applied separately, but for
> > everyone's convenience, it would be nice if they were merged through
> > a single tree.
>
> Please don't do this, it does not make anything more convenient - it
> results in huge CC lists and makes it more difficult to work out who
> will actually apply things. If there's no dependencies just send to
> each subsystem independently.
Thanks for letting me know. I'll keep that in mind. In v2, I will send
the cleanup patches to each subsystem independently.
Best Regards,
Sang-Heon Jeon
^ permalink raw reply [flat|nested] 11+ messages in thread