Re: linux-next: Tree for Sep 13 (objtool)

From: Josh Poimboeuf
Date: Thu Sep 14 2023 - 09:54:45 EST


On Thu, Sep 14, 2023 at 09:23:27AM +0200, Peter Zijlstra wrote:
> > We could just make smscore_load_firmware_from_file() noinline.
> >
> > Or we could hard-code the fact that smscore_load_firmware_from_file() is
> > only called in the SMS_DEVICE_FAMILY2 case, like:
>
> Yeah, this seems simplest. The code in question doesn't seem overly
> complicated and we can simply avoid confusing GCC.

I'm on my way out the door for vacation, if anybody wants to slap a
description on the patch and send it along, feel free :-)

--
Josh