Received: by 2002:a05:7412:ba23:b0:fa:4c10:6cad with SMTP id jp35csp1005937rdb; Fri, 19 Jan 2024 05:36:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IHgqFHoMJZUlBhWIF5Ru4YLJD1Ebl1VAmTwYyHWQpliLQcxbzoF8AlF74g4/pGCj7f05P8J X-Received: by 2002:a05:6a21:3399:b0:19a:fbd9:28bb with SMTP id yy25-20020a056a21339900b0019afbd928bbmr2468498pzb.9.1705671413589; Fri, 19 Jan 2024 05:36:53 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705671413; cv=pass; d=google.com; s=arc-20160816; b=sJw3AhK56YT7TRWhp18fvQ5bNxmZZrkf5LloQgFSB6dIi2DsOuxAHJikSyF+6qanKw DMzaoIdYCIACqLbwES/fs2lNdSMY5lAcUShTV7a+/WdaPQ+r9IhVPFre5a9L/cwmAzxA K1mTLY9rznNNiqXU2XbppXdvSnpwtJEpbgKFU6OhyjsaNWvRgF3oak3HsKB7N8FFFQ7b WYupL3yFJy6Slb7AJhXQ803euH7aXPDqIXw1GzJfqt1Or5Mxa0FBhnRRy4kOX42NKQ0W +cOKeGtbdAJClPuD0s4UkcsYFmeWFnovBXkoc7Ibtnx8vUC7Q9+0G4RBzITtoCRNbMl8 +Bvw== 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:to:from; bh=unXU+gKLQoZ3UtyyUTOXCA4dsOsfpK33oxXajgr/QYI=; fh=lyTQ3mSccWAGqVy84hZ+9QHSygd0HcRn5/BYt4nJ6Xg=; b=idg8QFteTJ4aD83AAojBtQ7yce7DT8NMK9cjIpQsdoeXduVTlzTqSX9e/uwcU68nTJ NBohlAGtudvtuWT6YXDjI9FewZScUDvZyhTD2q6olz7J+v4dmtqNr00qFoBrAHB/KDir xs9sbjjTasm9lBDpMRYUF+/qgspvqLC8k+Kir2ok7AErt1VkgRKMGJh6Oio/apMLel8B FFt7810ifX8KkhuCeAOGgk3LzeD1yOIZQTooO/Oy822hGVdIXslXnDIgp73DbRkGXVds 3HeDYMy+GkFc6zKidFvCB5k26X+gwOaxmw1Qd15tDlI/UBFmGW3M0aqRnFwqB6pCdgn3 aIsQ== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-31209-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-31209-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id o29-20020a635d5d000000b005c660017567si2176914pgm.575.2024.01.19.05.36.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jan 2024 05:36:53 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-31209-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of linux-kernel+bounces-31209-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-31209-linux.lists.archive=gmail.com@vger.kernel.org" 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 4C2C92872CF for ; Fri, 19 Jan 2024 13:36:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E8B8E52F79; Fri, 19 Jan 2024 13:36:42 +0000 (UTC) Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) (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 AA4204CB5C; Fri, 19 Jan 2024 13:36:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705671402; cv=none; b=Ey6F2roHftg0/Af4t0CLuUg9pE1MaiuHW2jOo2RUga41r+sZ+OxKU4P8BvonJQs7iKFC+UzxcbAFkty6LjfSyNQngg3RXG5G1DGNsPX6Wr3rVdUVhqJXkf50gIFF6Vi5Hm1IMR2jqKHRNPgu8xH3W/fwaKbrCmjBHB339Gdp7Po= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705671402; c=relaxed/simple; bh=K2zoFDuph9hofj7/rftY6gDK/TOENrkXlqmOUpQDQps=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=F5spwz4+AGEqHruE1bK7JgaPWpuNxmUXpMspOca1TsVrlCLK3cwV6yOuUfOVwJDOT3yOMDUQDoSXAbozdVGJsmyEp1lEjumo9hS+FF1vKtP5sg0JotrMB1Qb5YdqDasl8q0juElbZLhskISyLp5xt9KTYrQkoFW2QvQe+VL+jqg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=alpha.franken.de; spf=fail smtp.mailfrom=alpha.franken.de; arc=none smtp.client-ip=195.135.223.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=alpha.franken.de Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=alpha.franken.de Received: from hutton.arch.nue2.suse.org (unknown [10.168.144.140]) by smtp-out2.suse.de (Postfix) with ESMTP id 6582F1FD17; Fri, 19 Jan 2024 13:36:37 +0000 (UTC) From: Thomas Bogendoerfer To: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] MIPS: fw arc: Fix missing prototypes Date: Fri, 19 Jan 2024 14:36:34 +0100 Message-Id: <20240119133634.96420-1-tsbogend@alpha.franken.de> X-Mailer: git-send-email 2.35.3 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Authentication-Results: smtp-out2.suse.de; none X-Spam-Level: *** X-Spam-Score: 3.96 X-Spamd-Result: default: False [3.96 / 50.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; R_MISSING_CHARSET(2.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; BROKEN_CONTENT_TYPE(1.50)[]; NEURAL_HAM_LONG(-0.79)[-0.791]; NEURAL_HAM_SHORT(-0.15)[-0.735]; RCPT_COUNT_TWO(0.00)[2]; MID_CONTAINS_FROM(1.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+] X-Spam-Flag: NO Make ArcGetMemoryDescriptor() static since it's only needed internally. Signed-off-by: Thomas Bogendoerfer --- arch/mips/fw/arc/memory.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/fw/arc/memory.c b/arch/mips/fw/arc/memory.c index 66188739f54d..fb78e6fd5de4 100644 --- a/arch/mips/fw/arc/memory.c +++ b/arch/mips/fw/arc/memory.c @@ -37,7 +37,7 @@ static unsigned int nr_prom_mem __initdata; */ #define ARC_PAGE_SHIFT 12 -struct linux_mdesc * __init ArcGetMemoryDescriptor(struct linux_mdesc *Current) +static struct linux_mdesc * __init ArcGetMemoryDescriptor(struct linux_mdesc *Current) { return (struct linux_mdesc *) ARC_CALL1(get_mdesc, Current); } -- 2.35.3