Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp402682lql; Mon, 11 Mar 2024 06:23:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUmMSp7amsyEZVe5tOJEp4TNpZ/kMLYEVmUoHBBPp2P6PLiFbT01gvNvgarOvSN5xea2dq/ODHd0oHcOgs44Q8+IFdme4tkkCzsLQUNTQ== X-Google-Smtp-Source: AGHT+IGABrVZcZ3Y6bBrPAkQ+nEsogv4Pd6RCB7zQyYnt5hNZwD2R8/+g8KHx38qT5qoo0UMzOgE X-Received: by 2002:a17:907:d388:b0:a44:fe70:1b82 with SMTP id vh8-20020a170907d38800b00a44fe701b82mr4579590ejc.8.1710163406948; Mon, 11 Mar 2024 06:23:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710163406; cv=pass; d=google.com; s=arc-20160816; b=xh3+rjDByhIxf47T+/osve6i6pVj1kNDXTdaoOWdfnLdOu9+Jp5/WE+nOUM9RMwEXv 2o8rXV/2uTzyJSBerF8OvceNezNxwPCA+9b1BMfh8iUddGYTjDUaqWXRVnLAsOTvivAf p0lWRD9mP0kyZMXMtvyHKarhPW+IFXR++W5tjvRBPfQeyuN+7OGLo8NXnWBIQ/aZsOR6 vBzsIWOH0Vgu63AVFBk7UwuhOt2CfKfRnBf22NCUeHmsTOxo+0+l5stIsBYMYpjxlL6w axWtLQ0i119VXS/VK0qq88CsHxpPQrFMgpU2KqPfJIkZN4sSAlourQARlJr9hIwg0R0e 23kA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=KEEU8d4kT+XLrMMmHnzIiNApm7etXr5Wz+2RZaqCNjk=; fh=4T1QgdlaRzr1ZesfxynlL92tR25TSHAcHGdI/58l+k8=; b=ze5Vz9fM90BR5YhAk6khJ+6QBirYmXSw2glGBBKigbdegyb7ZsjDaNaSZe/LMzBX0+ /eVp1H607DFK8p33g38l2z3npR6N9G4vAHhG2U9cAiOuUKzRoKvNWLPoEYwbEDbKHSuF QJfK72phlDh9jPiXnCGDcv5B2hzLHIBhrE9T607RxhjFVDj0eH+6Hhmculzssk2QvUME EoYu68NgRFhQTbI0OS/m1kY4KR4+LXdc+6bR1Fd9NHppnMzP8CUwhyZOJeujQEAi/kYq /BP0QcqMQujPhJtCcZmrmIhczLhH37QdB3IxsU1W2b2/hzSuAIDcLIEPcvHSmZQKifk+ hg1Q==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ionos.com header.s=google header.b=ZFS4775M; arc=pass (i=1 spf=pass spfdomain=ionos.com dkim=pass dkdomain=ionos.com dmarc=pass fromdomain=ionos.com); spf=pass (google.com: domain of linux-kernel+bounces-98865-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98865-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ionos.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id gb36-20020a170907962400b00a462e58e073si632903ejc.691.2024.03.11.06.23.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 06:23:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-98865-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@ionos.com header.s=google header.b=ZFS4775M; arc=pass (i=1 spf=pass spfdomain=ionos.com dkim=pass dkdomain=ionos.com dmarc=pass fromdomain=ionos.com); spf=pass (google.com: domain of linux-kernel+bounces-98865-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98865-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ionos.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id AB4151F2121B for ; Mon, 11 Mar 2024 13:23:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3C8EF3D978; Mon, 11 Mar 2024 13:23:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ionos.com header.i=@ionos.com header.b="ZFS4775M" Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com [209.85.218.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DF45F3D0C6 for ; Mon, 11 Mar 2024 13:23:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710163399; cv=none; b=T59HMC0N7PrxKgNOghV+ObzyK04qZU7PKP3pPHkYqa+29h6vs/Vh7UHh/wJxldZkf1PAu8lM+fkqPuVp6vVcnxmbsFzzRjdCCDBmVXjV3LshGO9I11bygidE5KjzxlNMF1R4OR7KbNL/SKex7TZHWTSDja+VSkGGXz6RwwxiQ2E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710163399; c=relaxed/simple; bh=PTD1CopqlnZviBAic0/7ZJqfoPfNtwgJroeYOHsXEMY=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=O2bfaPneiKB4Yca6UMjhS0n4+Yh0wCWCZuR8XQDlW8JUgqxRwggFnQhbtWTQsnWWnPqq6uZxUDgSTI87RgM9+tuzehjQjINnVTITSXYnGAC2+hYfB78R7DqPbsrs1PdSuutp3LKRGjD1h7ZuWHUgWk6vjJ0iKxsPbdWW8F6HBF8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ionos.com; spf=pass smtp.mailfrom=ionos.com; dkim=pass (2048-bit key) header.d=ionos.com header.i=@ionos.com header.b=ZFS4775M; arc=none smtp.client-ip=209.85.218.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=ionos.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=ionos.com Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-a4429c556efso336642366b.0 for ; Mon, 11 Mar 2024 06:23:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ionos.com; s=google; t=1710163395; x=1710768195; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=KEEU8d4kT+XLrMMmHnzIiNApm7etXr5Wz+2RZaqCNjk=; b=ZFS4775MbNRxHXxIFe3qrqtmyiTeybM/4CelZ0Dpv4OjJbPda+YyURCgjJpOEixPMF 8YST3qrk1s9F0bWgRCl4PfQxql5RFvmbry8+CqklUUXcYVA7tSgxom/6KZ+aslDQVyKR kMIUPCPPUvnVaY8x20AJQ5v7FMCymkeNbcMHfJrfFiWPoS4E4oikYm+jV+QDXxKex375 6x0M+UK9DV587rPxXfx6BqMe3bVRMPbdG+gl0yD7zrxT1hERp2lkwTRu4P/vseE+TpMa Oe5y4roZYgS3ol6NszJP23Td4vNjNz+0oGpkHvEX8iQCcQiw4dKPQs0ZSaknv5JbmUti jMWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710163395; x=1710768195; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=KEEU8d4kT+XLrMMmHnzIiNApm7etXr5Wz+2RZaqCNjk=; b=U09d2dGNNCo9XJa3qtIPVEhyP7DpCkGEXf7Bvk7c/vt5Y3aY/k5IlDdZZykXKGLFro RjAU0GTIQmYOuYlModBWfFiyQysWudNWCjl0rgJ9L8ERWbWXS9C0jpAV7qZvwYT3koc5 C40crA9sUrMC2d+PxJq/10FyIvRQzuMMzxMys+LYzjrWhNHT8sox4uKwu2BIdDNQ+B3k L6Vn/5okFFekQt8Q99c3tVboJ5jwSf8/6vDHbKkL5eKqZklt745ElaVMwdBCkMc8D0st iIuLSDukWYq2+6uskjc9R8rDT1EmRVpwyJWH+bdVY/xM2Y1DhE5hJheYmlB8Fk9i/ffy dO7A== X-Forwarded-Encrypted: i=1; AJvYcCUQ30MF9Pm74erOUGMIyZ4xof2AEakqn9s6OKJpA0PjuJGPhjRYKsbMp4ZIKy0pQl6QUwT8YTqLpP2hOgA9x2qG56UOxHhbwqcEMXeV X-Gm-Message-State: AOJu0Yz8J1FgcZnHI7gt3eDnl+6L6BXECjAnj0t5x0JAczkCHCfwxsvj 7dmGywXKhX+QHnyWT1JQDfx0xJoSwhiK9cG/qSO4mRw9AbwH5jlFE3xspXwwP91StpOm0aD5bI7 a X-Received: by 2002:a17:906:5794:b0:a46:39cd:5e9e with SMTP id k20-20020a170906579400b00a4639cd5e9emr57011ejq.18.1710163395275; Mon, 11 Mar 2024 06:23:15 -0700 (PDT) Received: from raven.blarg.de (p200300dc6f010900023064fffe740809.dip0.t-ipconnect.de. [2003:dc:6f01:900:230:64ff:fe74:809]) by smtp.gmail.com with ESMTPSA id i26-20020a170906251a00b00a44cb0bf11bsm2861075ejb.79.2024.03.11.06.23.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 06:23:15 -0700 (PDT) From: Max Kellermann To: richard.henderson@linaro.org, ink@jurassic.park.msu.ru, mattst88@gmail.com, linux-alpha@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Max Kellermann Subject: [PATCH 01/11] arch/alpha/kernel: disable -Wmissing-prototypes for asmlinkage functions Date: Mon, 11 Mar 2024 14:22:56 +0100 Message-Id: <20240311132306.3420135-1-max.kellermann@ionos.com> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit There are no prototypes for functions which are only called by assembly code. Tell the compiler to disable those warnings in the relevant sources, just like arch/parisc/kernel/Makefile does. Signed-off-by: Max Kellermann --- arch/alpha/kernel/Makefile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/alpha/kernel/Makefile b/arch/alpha/kernel/Makefile index fb4efec7cbc7..5ba1400f3e4c 100644 --- a/arch/alpha/kernel/Makefile +++ b/arch/alpha/kernel/Makefile @@ -7,6 +7,14 @@ extra-y := vmlinux.lds asflags-y := $(KBUILD_CFLAGS) ccflags-y := -Wno-sign-compare +# no prototype warnings for functions which are only called by +# assembly code +CFLAGS_REMOVE_irq_alpha.o = -Wmissing-prototypes -Wmissing-declarations +CFLAGS_REMOVE_ptrace.o = -Wmissing-prototypes -Wmissing-declarations +CFLAGS_REMOVE_signal.o = -Wmissing-prototypes -Wmissing-declarations +CFLAGS_REMOVE_smp.o = -Wmissing-prototypes -Wmissing-declarations +CFLAGS_REMOVE_traps.o = -Wmissing-prototypes -Wmissing-declarations + obj-y := head.o entry.o traps.o process.o osf_sys.o irq.o \ irq_alpha.o signal.o setup.o ptrace.o time.o \ systbls.o err_common.o io.o bugs.o termios.o -- 2.39.2