Building the Linux kernel with Clang and LLVM
 help / color / mirror / Atom feed
From: "Russell King (Oracle)" <linux@armlinux.org.uk>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: kernel test robot <lkp@intel.com>, Melon Liu <melon1335@163.com>,
	llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: Re: [rmk:for-next 3/7] arch/arm/mm/ioremap.c:130:32: error: call to undeclared function 'kasan_mem_to_shadow'; ISO C99 and later do not support implicit function declarations
Date: Wed, 13 Nov 2024 14:20:02 +0000	[thread overview]
Message-ID: <ZzS1ko8pWGvYj895@shell.armlinux.org.uk> (raw)
In-Reply-To: <CACRpkdYADg4fg2VgRxFBwp1STLbX062zjbZXQ9snOf_p6NvcEA@mail.gmail.com>

On Wed, Nov 13, 2024 at 01:34:34AM +0100, Linus Walleij wrote:
> On Wed, Nov 13, 2024 at 12:11 AM kernel test robot <lkp@intel.com> wrote:
> 
> > >> arch/arm/mm/ioremap.c:130:32: error: call to undeclared function 'kasan_mem_to_shadow'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
> >      130 |                 sync_pgds(mm, (unsigned long)kasan_mem_to_shadow(
> >          |                                              ^
> >    1 warning and 1 error generated.
> 
> I mentioned this in a comment to 9429/1 that it supercedes 9427/1 since the
> author didn't send a new version to solve this issue. Maybe I should have
> mailed some more...

Sorry, missed that comment.

> 9429/1, 9430/1 and 9431/1 can be applied cleanly in its place.

I initially applied all of them, deciding that 9427/1 was a fix and
the other three were development. On merging the two branches, the
conflicts looked horrible, so I dropped the "development" stuff rather
than the apparent "fix" patch, clearly I should've looked closer and
done the opposite.

Now corrected, assuming tonight's build is clean, no further action
should be required.

-- 
RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
FTTP is here! 80Mbps down 10Mbps up. Decent connectivity at last!

  reply	other threads:[~2024-11-13 14:20 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-12 23:10 [rmk:for-next 3/7] arch/arm/mm/ioremap.c:130:32: error: call to undeclared function 'kasan_mem_to_shadow'; ISO C99 and later do not support implicit function declarations kernel test robot
2024-11-13  0:34 ` Linus Walleij
2024-11-13 14:20   ` Russell King (Oracle) [this message]
2024-11-14  7:40     ` Linus Walleij

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=ZzS1ko8pWGvYj895@shell.armlinux.org.uk \
    --to=linux@armlinux.org.uk \
    --cc=linus.walleij@linaro.org \
    --cc=lkp@intel.com \
    --cc=llvm@lists.linux.dev \
    --cc=melon1335@163.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox