From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5A5DDC433FE for ; Fri, 7 Oct 2022 06:46:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229714AbiJGGql (ORCPT ); Fri, 7 Oct 2022 02:46:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229669AbiJGGqh (ORCPT ); Fri, 7 Oct 2022 02:46:37 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E6113C4581; Thu, 6 Oct 2022 23:46:35 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 8FB82B82208; Fri, 7 Oct 2022 06:46:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B1C42C433D7; Fri, 7 Oct 2022 06:46:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1665125193; bh=2R565puu3jSvZEU5YxKdHU+f3N7E1A0C+trOmuYcd7E=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=2oxYsOZEtN6bZBXUIasaOa0HMbiNmYZa+Pug9zlHBg+9TECHFW0p+K3YVM/Masn72 9Fbr6g2AguG+4tt3QmywYrtVhyh6iS8OuTR2HpUUijIPZHB+vMpsT1sDOYqfM8c3vs l1T3cvovLvA4FwvAZAKC5AODuy0rnLQEleo8ftFs= Date: Fri, 7 Oct 2022 08:47:13 +0200 From: Greg Kroah-Hartman To: Florian Fainelli Cc: stable@vger.kernel.org, Alexey Dobriyan , Namhyung Kim , Arnaldo Carvalho de Melo , Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , "open list:PERFORMANCE EVENTS SUBSYSTEM" , Sasha Levin Subject: Re: [PATCH RESEND stable 5.4] perf tools: Fixup get_current_dir_name() compilation Message-ID: References: <20221005204028.4066674-1-f.fainelli@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221005204028.4066674-1-f.fainelli@gmail.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 05, 2022 at 01:40:28PM -0700, Florian Fainelli wrote: > From: Alexey Dobriyan > > 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) > Acked-by: Namhyung Kim > Link: http://lore.kernel.org/lkml/YRukaQbrgDWhiwGr@localhost.localdomain > Signed-off-by: Arnaldo Carvalho de Melo > Signed-off-by: Florian Fainelli > --- > > 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