* [PATCH v1 1/1] i2c: Use *-y instead of *-objs in Makefile
@ 2024-10-18 15:03 Andy Shevchenko
2024-11-01 12:24 ` Andy Shevchenko
0 siblings, 1 reply; 7+ messages in thread
From: Andy Shevchenko @ 2024-10-18 15:03 UTC (permalink / raw)
To: Andy Shevchenko, Chen-Yu Tsai, linux-i2c, linux-kernel; +Cc: Wolfram Sang
*-objs suffix is reserved rather for (user-space) host programs while
usually *-y suffix is used for kernel drivers (although *-objs works
for that purpose for now).
Let's correct the old usages of *-objs in Makefiles.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
drivers/i2c/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/i2c/Makefile b/drivers/i2c/Makefile
index f12d6b10a85e..af95d6e7f004 100644
--- a/drivers/i2c/Makefile
+++ b/drivers/i2c/Makefile
@@ -5,7 +5,7 @@
obj-$(CONFIG_I2C_BOARDINFO) += i2c-boardinfo.o
obj-$(CONFIG_I2C) += i2c-core.o
-i2c-core-objs := i2c-core-base.o i2c-core-smbus.o
+i2c-core-y := i2c-core-base.o i2c-core-smbus.o
i2c-core-$(CONFIG_ACPI) += i2c-core-acpi.o
i2c-core-$(CONFIG_I2C_SLAVE) += i2c-core-slave.o
i2c-core-$(CONFIG_OF) += i2c-core-of.o
--
2.43.0.rc1.1336.g36b5255a03ac
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH v1 1/1] i2c: Use *-y instead of *-objs in Makefile
2024-10-18 15:03 [PATCH v1 1/1] i2c: Use *-y instead of *-objs in Makefile Andy Shevchenko
@ 2024-11-01 12:24 ` Andy Shevchenko
2024-11-01 12:43 ` Wolfram Sang
0 siblings, 1 reply; 7+ messages in thread
From: Andy Shevchenko @ 2024-11-01 12:24 UTC (permalink / raw)
To: Chen-Yu Tsai, linux-i2c, linux-kernel; +Cc: Wolfram Sang
On Fri, Oct 18, 2024 at 06:03:37PM +0300, Andy Shevchenko wrote:
> *-objs suffix is reserved rather for (user-space) host programs while
> usually *-y suffix is used for kernel drivers (although *-objs works
> for that purpose for now).
>
> Let's correct the old usages of *-objs in Makefiles.
Any comments?
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v1 1/1] i2c: Use *-y instead of *-objs in Makefile
2024-11-01 12:24 ` Andy Shevchenko
@ 2024-11-01 12:43 ` Wolfram Sang
2024-11-01 13:06 ` Andy Shevchenko
0 siblings, 1 reply; 7+ messages in thread
From: Wolfram Sang @ 2024-11-01 12:43 UTC (permalink / raw)
To: Andy Shevchenko; +Cc: Chen-Yu Tsai, linux-i2c, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 139 bytes --]
> > Let's correct the old usages of *-objs in Makefiles.
>
> Any comments?
LGTM. What about fixing the drivers, too, in one go?
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v1 1/1] i2c: Use *-y instead of *-objs in Makefile
2024-11-01 12:43 ` Wolfram Sang
@ 2024-11-01 13:06 ` Andy Shevchenko
2024-11-01 13:12 ` Andy Shevchenko
0 siblings, 1 reply; 7+ messages in thread
From: Andy Shevchenko @ 2024-11-01 13:06 UTC (permalink / raw)
To: Wolfram Sang, Chen-Yu Tsai, linux-i2c, linux-kernel
On Fri, Nov 01, 2024 at 02:43:47PM +0200, Wolfram Sang wrote:
>
> > > Let's correct the old usages of *-objs in Makefiles.
> >
> > Any comments?
>
> LGTM. What about fixing the drivers, too, in one go?
What drivers do you have in mind?
Shouldn't be separated commit anyway?
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v1 1/1] i2c: Use *-y instead of *-objs in Makefile
2024-11-01 13:06 ` Andy Shevchenko
@ 2024-11-01 13:12 ` Andy Shevchenko
2024-11-04 11:05 ` Wolfram Sang
0 siblings, 1 reply; 7+ messages in thread
From: Andy Shevchenko @ 2024-11-01 13:12 UTC (permalink / raw)
To: Wolfram Sang, Chen-Yu Tsai, linux-i2c, linux-kernel
On Fri, Nov 01, 2024 at 03:06:46PM +0200, Andy Shevchenko wrote:
> On Fri, Nov 01, 2024 at 02:43:47PM +0200, Wolfram Sang wrote:
> >
> > > > Let's correct the old usages of *-objs in Makefiles.
> > >
> > > Any comments?
> >
> > LGTM. What about fixing the drivers, too, in one go?
>
> What drivers do you have in mind?
> Shouldn't be separated commit anyway?
A separate patch just has been sent.
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v1 1/1] i2c: Use *-y instead of *-objs in Makefile
2024-11-01 13:12 ` Andy Shevchenko
@ 2024-11-04 11:05 ` Wolfram Sang
2024-11-04 11:20 ` Andy Shevchenko
0 siblings, 1 reply; 7+ messages in thread
From: Wolfram Sang @ 2024-11-04 11:05 UTC (permalink / raw)
To: Andy Shevchenko; +Cc: Chen-Yu Tsai, linux-i2c, linux-kernel
[-- Attachment #1: Type: text/plain, Size: 101 bytes --]
> > Shouldn't be separated commit anyway?
Can be argued.
This patch applied to for-next, thanks!
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH v1 1/1] i2c: Use *-y instead of *-objs in Makefile
2024-11-04 11:05 ` Wolfram Sang
@ 2024-11-04 11:20 ` Andy Shevchenko
0 siblings, 0 replies; 7+ messages in thread
From: Andy Shevchenko @ 2024-11-04 11:20 UTC (permalink / raw)
To: Wolfram Sang, Chen-Yu Tsai, linux-i2c, linux-kernel
On Mon, Nov 04, 2024 at 01:05:20PM +0200, Wolfram Sang wrote:
>
> > > Shouldn't be separated commit anyway?
>
> Can be argued.
I have an evidence for my side: LKP complained as my (thanks to be a separate)
patch unveiled the issue in the Kconfig there. Meaning that required a new version
of the change, while the core part is not affected anyhow.
> This patch applied to for-next, thanks!
Thank you!
--
With Best Regards,
Andy Shevchenko
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2024-11-04 11:20 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-18 15:03 [PATCH v1 1/1] i2c: Use *-y instead of *-objs in Makefile Andy Shevchenko
2024-11-01 12:24 ` Andy Shevchenko
2024-11-01 12:43 ` Wolfram Sang
2024-11-01 13:06 ` Andy Shevchenko
2024-11-01 13:12 ` Andy Shevchenko
2024-11-04 11:05 ` Wolfram Sang
2024-11-04 11:20 ` Andy Shevchenko
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox