Received: by 2002:ab2:710b:0:b0:1ef:a325:1205 with SMTP id z11csp403756lql; Mon, 11 Mar 2024 06:25:08 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXAYcuwi9FtKrIEYLyz2yYEfDC8izMpJ0wTTUT4MeMTH4lZQGA1ZHMpKpLFPNV7JTA2FplJVJR2xS/FUIqDOPsdUJsLFFICD3Bjsg/Hhw== X-Google-Smtp-Source: AGHT+IEHDjGi8AWnzLxY80JaAdJz7B0zuIlhQD5Ughv6AbRUK9P58h7+tI3VCOWawK5OVIVgZ7KN X-Received: by 2002:a05:6a00:2404:b0:6de:1b57:ca8c with SMTP id z4-20020a056a00240400b006de1b57ca8cmr5957710pfh.23.1710163508517; Mon, 11 Mar 2024 06:25:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1710163508; cv=pass; d=google.com; s=arc-20160816; b=DuTLYU70Jcf7IkO9QZ/V7UoLnKCyMHs5dsdPNdJ7wQs8H9X28NoQa6uGCBtOJishJS n9/2z6FRCGU3eQJG+ruqFLVHtzfo3WI6s70PQJS/tRRBvdNzB2ao6ermzH9tQqNw9axE muJrFh0DHQjE8XTyhH4ehFIhK5tiIgz16b6ln/gpixO9PVlYmmDEwsACJkWHlySb3Pia cCRKZRqAbHV8AGPhmqYDr7aadWFdmxG3Rgu4FFNtnq/ravTkJl5AMatUrELhoxQ+Lck5 Zq7XVIH6CaZGGCmrmSsKE12GH4ybBI27afBApRhDBvXGPOL6jt2PovhnubP5xwZ+DOmj MxvA== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=k8wg/GCSWc11sCWJQlZhQbjR19f7OlqscDESiBNq4wo=; fh=00lQWwkvYFNGYCPFSCddHKmKkbVqcI12rIKL8yvyKTs=; b=Zm3hdb538zwouA/GgvLWrMDFk7yGKorgFNBZuxHV4lqAxikUiGIxCCJ7y96PUbI8W7 aWTdPUPfygnUActj6Mkk26vAkAFVoToK6G2jkIuozYDh9oMcTX87SpMzjZ7fZs0us+Bi /lsMp2INMp8BR7A1sPVymqZ/hixEgHNlOICqAfmaoVbtNKRZk2pkdXaxzGfJHiNPXVfq jAvnkBz/eYQdJEPUksgZZhPhJQu5Eb3gls/kgluMp7pL7wFkBvVBd6eBrNuHjhJoIb+o V3eNhSyGZUIHYDipdKDhHDxIHhxkS3Yt3zjck73kAdxsvQNiRIS+uMXVYz2246NqrO0Z VB8g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ionos.com header.s=google header.b="Tu8oNqV/"; 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-98871-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98871-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=ionos.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id p26-20020a634f5a000000b005dcc075d5ecsi4785747pgl.855.2024.03.11.06.25.07 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 06:25:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-98871-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@ionos.com header.s=google header.b="Tu8oNqV/"; 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-98871-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-98871-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 977D8B21581 for ; Mon, 11 Mar 2024 13:24:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id DBD0241766; Mon, 11 Mar 2024 13:23:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ionos.com header.i=@ionos.com header.b="Tu8oNqV/" Received: from mail-ej1-f53.google.com (mail-ej1-f53.google.com [209.85.218.53]) (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 3225C405C1 for ; Mon, 11 Mar 2024 13:23:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.218.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710163406; cv=none; b=ZJ4Z/l6tcBtjDkjLWN1dAHRF49Ol/VC9sTM0lZ7CUD75oINBqPEfH1Eftsr+W57RA9dOvG1TVC8URY/Ety1y/cGhl1Ow15OjFpmc3PXqe1FCFx+YzI38m1L1/J7gp3gRhu50BSYiBIXbIMyM88dat9qk0UBRb+LpkbLjgSpMVAE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710163406; c=relaxed/simple; bh=++b1Hp5v+ZafpN1rfbdsbIrHdB/oRUlmtmRPZn2q9HY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=ZtjmbBd3d8BUzxM4OFIWnJA2t5EL9HjeEzWD8kUhTpVb5p0PUs1mTWMLflhIqmUckkZtVyhWgeQ+dFWsCJEDaRXLqNRGsAxdH97KQVUQuljSb/j0deTsTOWD+CR72NZGdVhxlMT6wnOCi6rwihRkMXhaKzOEbjW7PJIcD2aqJio= 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=Tu8oNqV/; arc=none smtp.client-ip=209.85.218.53 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-f53.google.com with SMTP id a640c23a62f3a-a461d0c90c1so144365366b.2 for ; Mon, 11 Mar 2024 06:23:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ionos.com; s=google; t=1710163402; x=1710768202; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=k8wg/GCSWc11sCWJQlZhQbjR19f7OlqscDESiBNq4wo=; b=Tu8oNqV/ybdiPlRHmHDhD35eAetpGlxNgwqcHvxTHoTtO7JQZvyO9uzFjnQRziWTGz ru4EY8NvqCvbpDLBbrlLhkpADqzIkalBwXDjdJqEOSHzQj98s4AFle30rj4dFHlyIM9H R2oqmgxGWuksrJ+1Nrg5xlfALGaBWuuLcqfl5VpWqlTRZaapZl4kJ3wQcLbYSHBKcZHy EYJpF1ogpfXjMY3euv9mi+I1DRTexHeTtk0rabFb13H7XzkQPkonCPGGa5FuEsN2vZhC IxxVRIvpCAEvQMzR2hcobcx/a9gSJmuBqhIywdx2tZkCbGkjs8luaCTebEljgdE996Bn 5UAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1710163402; x=1710768202; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=k8wg/GCSWc11sCWJQlZhQbjR19f7OlqscDESiBNq4wo=; b=oAMpx1/I16NetxG9LX5qLi9Q5XInTFvkBG/wRBWJsCIahAPd4J2LEYfBaGdz1b+d2/ APp1HU0p2iW+3DhcSGyRVhdQM08ZBfyyoe+sNbWkii6+H8cJLPNnBCK/3kD4Rb8yits1 +5kN8Qpy2AoKF+8Cge7xBF4+sIb2GfD0ZaOw3GoFJdLr4zd6MGOxMpSNik/Uyr4IqdSB 9bWy1vqLiTSV7sypw7I/9IX4M5oxTiIqbgkP/kZ4uzS/cFdOgmztof9qS0nVz7zs3bro lMMQaiNCXaqZogUHp46Mv6/q9aK6gxCk6Tf8syY7T8FTCp5pY0CLsBa64WEn1HtmiLwN YW+w== X-Forwarded-Encrypted: i=1; AJvYcCX1gxmmUNq9ZZEXkMUsKSy3JNauKOzed+yTiNqccCGpPlK6VXCkK21sjP0W71XSwXJAGP6merm3InSiSDSNVRtrYWbph5C+FbhSRq+r X-Gm-Message-State: AOJu0YzjPnGnk9YpuhE6JfNfJf3eLpSxEMlnlMxVmdcc3jhiKwE7lk8k kFOgg6mWKD+Z8gDCHLlFqC2Gfh/y8QV2bSeJRD13xfz+WdDRRNgfYmWYMqxffPU= X-Received: by 2002:a17:906:f80d:b0:a44:2218:4817 with SMTP id kh13-20020a170906f80d00b00a4422184817mr3932195ejb.39.1710163402683; Mon, 11 Mar 2024 06:23:22 -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.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 11 Mar 2024 06:23:21 -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 07/11] arch/alpha/perf_event: make init_hw_perf_events() static Date: Mon, 11 Mar 2024 14:23:02 +0100 Message-Id: <20240311132306.3420135-7-max.kellermann@ionos.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20240311132306.3420135-1-max.kellermann@ionos.com> References: <20240311132306.3420135-1-max.kellermann@ionos.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit This function is only used within this source file. Fixes `-Wmissing-prototypes`: arch/alpha/kernel/perf_event.c:873:12: error: no previous prototype for 'init_hw_perf_events' [-Werror=missing-prototypes] 873 | int __init init_hw_perf_events(void) | ^~~~~~~~~~~~~~~~~~~ Signed-off-by: Max Kellermann --- arch/alpha/kernel/perf_event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/alpha/kernel/perf_event.c b/arch/alpha/kernel/perf_event.c index ccdb508c1516..1f0eb4f25c0f 100644 --- a/arch/alpha/kernel/perf_event.c +++ b/arch/alpha/kernel/perf_event.c @@ -870,7 +870,7 @@ static void alpha_perf_event_irq_handler(unsigned long la_ptr, /* * Init call to initialise performance events at kernel startup. */ -int __init init_hw_perf_events(void) +static int __init init_hw_perf_events(void) { pr_info("Performance events: "); -- 2.39.2