All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexandre Belloni <alexandre.belloni@bootlin.com>
To: Jonathan Cameron <jonathan.cameron@huawei.com>
Cc: Frank Li <Frank.Li@nxp.com>,
	andriy.shevchenko@intel.com, carlos.song@nxp.com,
	fluturel.adrian@gmail.com, linux-i3c@lists.infradead.org,
	linux-iio@vger.kernel.org, lkp@intel.com,
	oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH 1/1] i3c: Add stub functions when I3C support is disabled
Date: Wed, 21 Jan 2026 00:02:18 +0100	[thread overview]
Message-ID: <202601202302180c990bfb@mail.local> (raw)
In-Reply-To: <20260115171220.000001b7@huawei.com>

Hello,

On 15/01/2026 17:12:20+0000, Jonathan Cameron wrote:
> On Wed, 14 Jan 2026 16:02:06 +0100
> Alexandre Belloni <alexandre.belloni@bootlin.com> wrote:
> 
> > On Tue, 30 Dec 2025 09:57:18 -0500, Frank Li wrote:
> > > When I3C is disabled, unused functions are removed by the linker because
> > > the driver relies on regmap and no I3C devices are registered, so normal
> > > I3C paths are never called.
> > > 
> > > However, some drivers may still call low-level I3C transfer helpers.
> > > Provide stub implementations to avoid adding conditional ifdefs everywhere.
> > > 
> > > [...]  
> > 
> > Applied, thanks!
> > 
> > [1/1] i3c: Add stub functions when I3C support is disabled
> >       https://git.kernel.org/i3c/c/8564f88df202
> > 
> > Best regards,
> > 
> 
> Hi Alexandre,
> 
> This is going to make for an 'interesting' merge window as I'm getting
> build failures without that patch.  I don't suppose you'd mind
> doing an immutable branch? 
> 

I just sent it, let me know if this works for you.

-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

-- 
linux-i3c mailing list
linux-i3c@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-i3c

WARNING: multiple messages have this Message-ID (diff)
From: Alexandre Belloni <alexandre.belloni@bootlin.com>
To: Jonathan Cameron <jonathan.cameron@huawei.com>
Cc: Frank Li <Frank.Li@nxp.com>,
	andriy.shevchenko@intel.com, carlos.song@nxp.com,
	fluturel.adrian@gmail.com, linux-i3c@lists.infradead.org,
	linux-iio@vger.kernel.org, lkp@intel.com,
	oe-kbuild-all@lists.linux.dev
Subject: Re: [PATCH 1/1] i3c: Add stub functions when I3C support is disabled
Date: Wed, 21 Jan 2026 00:02:18 +0100	[thread overview]
Message-ID: <202601202302180c990bfb@mail.local> (raw)
In-Reply-To: <20260115171220.000001b7@huawei.com>

Hello,

On 15/01/2026 17:12:20+0000, Jonathan Cameron wrote:
> On Wed, 14 Jan 2026 16:02:06 +0100
> Alexandre Belloni <alexandre.belloni@bootlin.com> wrote:
> 
> > On Tue, 30 Dec 2025 09:57:18 -0500, Frank Li wrote:
> > > When I3C is disabled, unused functions are removed by the linker because
> > > the driver relies on regmap and no I3C devices are registered, so normal
> > > I3C paths are never called.
> > > 
> > > However, some drivers may still call low-level I3C transfer helpers.
> > > Provide stub implementations to avoid adding conditional ifdefs everywhere.
> > > 
> > > [...]  
> > 
> > Applied, thanks!
> > 
> > [1/1] i3c: Add stub functions when I3C support is disabled
> >       https://git.kernel.org/i3c/c/8564f88df202
> > 
> > Best regards,
> > 
> 
> Hi Alexandre,
> 
> This is going to make for an 'interesting' merge window as I'm getting
> build failures without that patch.  I don't suppose you'd mind
> doing an immutable branch? 
> 

I just sent it, let me know if this works for you.

-- 
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

  reply	other threads:[~2026-01-20 23:02 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-30 14:57 [PATCH 1/1] i3c: Add stub functions when I3C support is disabled Frank Li
2025-12-30 14:57 ` Frank Li
2026-01-14 15:02 ` Alexandre Belloni
2026-01-14 15:02   ` Alexandre Belloni
2026-01-15 17:12   ` Jonathan Cameron
2026-01-15 17:12     ` Jonathan Cameron
2026-01-20 23:02     ` Alexandre Belloni [this message]
2026-01-20 23:02       ` Alexandre Belloni
2026-01-21 20:00       ` Jonathan Cameron
2026-01-21 20:00         ` Jonathan Cameron

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202601202302180c990bfb@mail.local \
    --to=alexandre.belloni@bootlin.com \
    --cc=Frank.Li@nxp.com \
    --cc=andriy.shevchenko@intel.com \
    --cc=carlos.song@nxp.com \
    --cc=fluturel.adrian@gmail.com \
    --cc=jonathan.cameron@huawei.com \
    --cc=linux-i3c@lists.infradead.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.