Re: [PATCH RESEND stable 5.4] perf tools: Fixup get_current_dir_name() compilation

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

 



On Wed, Oct 05, 2022 at 01:40:28PM -0700, Florian Fainelli wrote:
> From: Alexey Dobriyan <adobriyan@xxxxxxxxx>
> 
> commit 128dbd78bd673f9edbc4413072b23efb6657feb0 upstream
> 
> strdup() prototype doesn't live in stdlib.h .
> 
> Add limits.h for PATH_MAX definition as well.
> 
> This fixes the build on Android.
> 
> Signed-off-by: Alexey Dobriyan (SK hynix) <adobriyan@xxxxxxxxx>
> Acked-by: Namhyung Kim <namhyung@xxxxxxxxxx>
> Link: http://lore.kernel.org/lkml/YRukaQbrgDWhiwGr@localhost.localdomain
> Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
> Signed-off-by: Florian Fainelli <f.fainelli@xxxxxxxxx>
> ---
> 
> This patch is necessary to build perf with a musl-libc toolchain, not
> just Android's bionic.
> 
> Resending because missed stable the first time

Both backports now queued up, thanks.

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux