public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Charles Keepax <ckeepax@opensource.cirrus.com>
Cc: "Sudip Mukherjee (Codethink)" <sudipm.mukherjee@gmail.com>,
	James Schulman <james.schulman@cirrus.com>,
	David Rhodes <david.rhodes@cirrus.com>,
	"Richard Fitzgerald" <rf@opensource.cirrus.com>,
	Lee Jones <lee@kernel.org>, <alsa-devel@alsa-project.org>,
	<patches@opensource.cirrus.com>, <linux-kernel@vger.kernel.org>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	<regressions@lists.linux.dev>
Subject: Re: mainline build failure due to ace6d1448138 ("mfd: cs42l43: Add support for cs42l43 core driver")
Date: Wed, 30 Aug 2023 17:12:12 +0200	[thread overview]
Message-ID: <87ledsfttf.wl-tiwai@suse.de> (raw)
In-Reply-To: <20230830150037.GW103419@ediswmail.ad.cirrus.com>

On Wed, 30 Aug 2023 17:00:37 +0200,
Charles Keepax wrote:
> 
> On Wed, Aug 30, 2023 at 03:09:13PM +0200, Takashi Iwai wrote:
> > On Wed, 30 Aug 2023 13:29:57 +0200,
> > Sudip Mukherjee (Codethink) wrote:
> > > 
> > > Hi All,
> > > 
> > > The latest mainline kernel branch fails to build alpha, csky and s390
> > > allmodconfig with the error:
> > > 
> > > drivers/mfd/cs42l43.c:1138:12: error: 'cs42l43_runtime_resume' defined but not used [-Werror=unused-function]
> > >  1138 | static int cs42l43_runtime_resume(struct device *dev)
> > >       |            ^~~~~~~~~~~~~~~~~~~~~~
> > > drivers/mfd/cs42l43.c:1124:12: error: 'cs42l43_runtime_suspend' defined but not used [-Werror=unused-function]
> > >  1124 | static int cs42l43_runtime_suspend(struct device *dev)
> > >       |            ^~~~~~~~~~~~~~~~~~~~~~~
> > > drivers/mfd/cs42l43.c:1106:12: error: 'cs42l43_resume' defined but not used [-Werror=unused-function]
> > >  1106 | static int cs42l43_resume(struct device *dev)
> > >       |            ^~~~~~~~~~~~~~
> > > drivers/mfd/cs42l43.c:1076:12: error: 'cs42l43_suspend' defined but not used [-Werror=unused-function]
> > >  1076 | static int cs42l43_suspend(struct device *dev)
> > >       |            ^~~~~~~~~~~~~~~
> > > 
> > > git bisect pointed to ace6d1448138 ("mfd: cs42l43: Add support for cs42l43 core driver")
> > > 
> > > I will be happy to test any patch or provide any extra log if needed.
> > 
> > Adding __maybe_unused for those PM functions should work around it,
> > something like below.  Could you check it?
> > If it's confirmed to work, I'll submit properly.
> > 
> > 
> 
> This is probably the correct fix:
> 
> https://lore.kernel.org/lkml/20230822114914.340359-1-ckeepax@opensource.cirrus.com/
> 
> Just waiting on it to be reviewed.

Thanks, that looks better.  Let's wait for the patch acceptance.


Takashi

  reply	other threads:[~2023-08-30 19:14 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-30 11:29 mainline build failure due to ace6d1448138 ("mfd: cs42l43: Add support for cs42l43 core driver") Sudip Mukherjee (Codethink)
2023-08-30 13:09 ` Takashi Iwai
2023-08-30 15:00   ` Charles Keepax
2023-08-30 15:12     ` Takashi Iwai [this message]
2023-08-30 13:11 ` Linux regression tracking (Thorsten Leemhuis)
2023-09-23 15:02 ` Sudip Mukherjee
2023-09-24  7:58   ` Thorsten Leemhuis
2023-09-24  8:05     ` Thorsten Leemhuis

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=87ledsfttf.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=ckeepax@opensource.cirrus.com \
    --cc=david.rhodes@cirrus.com \
    --cc=james.schulman@cirrus.com \
    --cc=lee@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=patches@opensource.cirrus.com \
    --cc=regressions@lists.linux.dev \
    --cc=rf@opensource.cirrus.com \
    --cc=sudipm.mukherjee@gmail.com \
    --cc=torvalds@linux-foundation.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox