Re: [PATCH] thermal: core: Save a few bytes of memory when registering a cooling device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 5, 2024 at 3:55 PM Christophe JAILLET
<christophe.jaillet@xxxxxxxxxx> wrote:
>
> Le 05/01/2024 à 14:50, Rafael J. Wysocki a écrit :
> > On Fri, Jan 5, 2024 at 2:45 PM Christophe JAILLET
> > <christophe.jaillet@xxxxxxxxxx> wrote:
> >>
> >> Some *thermal_cooling_device_register() calls pass a string literal as the
> >> 'type' parameter.
> >>
> >> So kstrdup_const() can be used instead of kfree() to avoid a memory
> >
> > I guess you mean kstrdup()?
>
> Sure.
> Stupid cut'n'paste typo. Thx for catching it.
>
> Should I resend, or can it be fixed if/when the patch is applied?

I can fix it up.





[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux