From nobody Fri Dec 19 20:55:43 2025 Received: from pegase2.c-s.fr (pegase2.c-s.fr [93.17.235.10]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 047AF1A0BF8 for ; Wed, 8 Jan 2025 10:50:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=93.17.235.10 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736333405; cv=none; b=pOVvLBJvMUhq135M8InMc9BaSJXu9GRxeRDKwZDiYN/AsmUyFNRVjOSoZw04rAB7tS/Ma7FgD+DTi9EG29A1P6iaQUNwGG3I+99dN/AwWrb8SnJ078ad9abd2sjPIXLf7Mzgi66cE8YeRiARZpk0XvPsAu3kQVuUYitX8Wa0pHY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1736333405; c=relaxed/simple; bh=21ivfBwVCMvA2qFp8OpQRDnZmgAqNKKXias6MJqt5Sk=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XVYDUk0Avf4xWCatL0oECIuKcVgpyb64hJFGYzn0hSfYP+uqudQGb9HKGbXzHIwlvBOz6bQEMlxyaFy2VBE4WCuU+ZdpWKxXuJTmWSN7ytymo3zpZLwyWe+cTt14TOhyrs7ouSOXZsfFfl8Mko2xt2ZcSS9TwF/Mrxq+s6GOtf4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=csgroup.eu; spf=pass smtp.mailfrom=csgroup.eu; arc=none smtp.client-ip=93.17.235.10 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=csgroup.eu Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=csgroup.eu Received: from localhost (mailhub3.si.c-s.fr [172.26.127.67]) by localhost (Postfix) with ESMTP id 4YSkYz1l3yz9sPd; Wed, 8 Jan 2025 11:24:55 +0100 (CET) X-Virus-Scanned: amavisd-new at c-s.fr Received: from pegase2.c-s.fr ([172.26.127.65]) by localhost (pegase2.c-s.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tKW6bR3EAy7f; Wed, 8 Jan 2025 11:24:55 +0100 (CET) Received: from messagerie.si.c-s.fr (messagerie.si.c-s.fr [192.168.25.192]) by pegase2.c-s.fr (Postfix) with ESMTP id 4YSkYz0TYlz9rvV; Wed, 8 Jan 2025 11:24:55 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by messagerie.si.c-s.fr (Postfix) with ESMTP id C6FA18B768; Wed, 8 Jan 2025 11:24:54 +0100 (CET) X-Virus-Scanned: amavisd-new at c-s.fr Received: from messagerie.si.c-s.fr ([127.0.0.1]) by localhost (messagerie.si.c-s.fr [127.0.0.1]) (amavisd-new, port 10023) with ESMTP id hvISgO05s3Wc; Wed, 8 Jan 2025 11:24:54 +0100 (CET) Received: from PO20335.idsi0.si.c-s.fr (unknown [192.168.235.99]) by messagerie.si.c-s.fr (Postfix) with ESMTP id 558358B767; Wed, 8 Jan 2025 11:24:54 +0100 (CET) From: Christophe Leroy To: Michael Ellerman , Nicholas Piggin , Naveen N Rao , Madhavan Srinivasan Cc: Christophe Leroy , linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, kernel test robot Subject: [PATCH] powerpc/44x: Declare primary_uic static in uic.c Date: Wed, 8 Jan 2025 11:24:54 +0100 Message-ID: <0e11233d30333610ab460b3a1fd0f43c3a51e34d.1736331884.git.christophe.leroy@csgroup.eu> X-Mailer: git-send-email 2.47.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=ed25519-sha256; t=1736331894; l=825; i=christophe.leroy@csgroup.eu; s=20211009; h=from:subject:message-id; bh=21ivfBwVCMvA2qFp8OpQRDnZmgAqNKKXias6MJqt5Sk=; b=wGpIAQz50BTGfGjbVCxlG/LoDY9GxNGPI5fWl/J+6Kh/ctAVPS5NtLjvYzTK9bSbRUzW5Ew4Q KiU1fimHIsYBAuhHPVfq3Qdbg8jckNKghiEnlduBgTm2596RDMl5wLH X-Developer-Key: i=christophe.leroy@csgroup.eu; a=ed25519; pk=HIzTzUj91asvincQGOFx6+ZF5AoUuP9GdOtQChs7Mm0= Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" primary_uic is not used outside uic.c, declare it static. Reported-by: kernel test robot Closes: https://lore.kernel.org/oe-kbuild-all/202411101746.lD8YdVzY-lkp@int= el.com/ Fixes: e58923ed1437 ("[POWERPC] Add arch/powerpc driver for UIC, PPC4xx int= errupt controller") Signed-off-by: Christophe Leroy --- arch/powerpc/platforms/44x/uic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/platforms/44x/uic.c b/arch/powerpc/platforms/44x/= uic.c index e3e148b9dd18..8b03ae4cb3f6 100644 --- a/arch/powerpc/platforms/44x/uic.c +++ b/arch/powerpc/platforms/44x/uic.c @@ -37,7 +37,7 @@ #define UIC_VR 0x7 #define UIC_VCR 0x8 =20 -struct uic *primary_uic; +static struct uic *primary_uic; =20 struct uic { int index; --=20 2.47.0