From patchwork Fri Nov 8 05:37:08 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: guanjing X-Patchwork-Id: 13867681 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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 315C4D5E145 for ; Fri, 8 Nov 2024 07:29:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: MIME-Version:Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-Type: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=mv14GPqNWG0UhVJJrxQf9v4mNdX8fYSBirQvH2+YobU=; b=xvLhsXQewaUFY5vYkFyldav2Xp A9JOIVYa71EUlCsl5w6i+DDBenOV3PMEIQt0Ry5aYmjr7wfOtWWvwt0h77AX3P3Vw04F77+ILOHvZ aXLE+Qp8h3QrD7VprZckRN0Y2ZOCf9NgC6qCBGRdXZ9rKPe34d3JySiBjPLTCi6px6+8MymsXU+pq IVh0XCnliQTId/Pm34RN20nA9z/sv34IrjsXhsrZFT4PyGw3nkLwoixXHPXrOb0CUUqaHMTZLVTn5 NdJSJJMI+sBvgSa8/yP4d2Lfmwfr9xSUbdmBC83CJjEJ+hKKJGaJLyMsUzkmzkqZFHCM+OTx1o2RH FJT4ge/A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t9JQY-00000009cWJ-2XIj; Fri, 08 Nov 2024 07:29:06 +0000 Received: from cmccmta6.chinamobile.com ([111.22.67.139] helo=cmccmta2.chinamobile.com) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1t9JOl-00000009cLL-3M3E for linux-arm-kernel@lists.infradead.org; Fri, 08 Nov 2024 07:27:18 +0000 X-RM-TagInfo: emlType=0 X-RM-SPAM-FLAG: 00000000 Received: from spf.mail.chinamobile.com (unknown[10.188.0.87]) by rmmx-syy-dmz-app05-12005 (RichMail) with SMTP id 2ee5672dbd45c3f-efc51; Fri, 08 Nov 2024 15:27:01 +0800 (CST) X-RM-TRANSID: 2ee5672dbd45c3f-efc51 X-RM-TagInfo: emlType=0 X-RM-SPAM-FLAG: 00000000 Received: from localhost.localdomain (unknown[223.108.79.101]) by rmsmtp-syy-appsvr09-12009 (RichMail) with SMTP id 2ee9672dbd1fbf3-8d45f; Fri, 08 Nov 2024 15:27:01 +0800 (CST) X-RM-TRANSID: 2ee9672dbd1fbf3-8d45f From: guanjing To: mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com Cc: linux-stm32@st-md-mailman.stormreply.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, guanjing Subject: [PATCH] fixup for "firewall: introduce stm32_firewall framework" Date: Fri, 8 Nov 2024 13:37:08 +0800 Message-Id: <20241108053708.171916-1-guanjing@cmss.chinamobile.com> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20241107_232716_457496_DCBBA534 X-CRM114-Status: UNSURE ( 8.38 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Fixes: 5c9668cfc6d7 ("firewall: introduce stm32_firewall framework") Signed-off-by: guanjing --- include/linux/bus/stm32_firewall_device.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/bus/stm32_firewall_device.h b/include/linux/bus/stm32_firewall_device.h index 18e0a2fc3816..5178b72bc920 100644 --- a/include/linux/bus/stm32_firewall_device.h +++ b/include/linux/bus/stm32_firewall_device.h @@ -115,7 +115,7 @@ void stm32_firewall_release_access_by_id(struct stm32_firewall *firewall, u32 su #else /* CONFIG_STM32_FIREWALL */ int stm32_firewall_get_firewall(struct device_node *np, struct stm32_firewall *firewall, - unsigned int nb_firewall); + unsigned int nb_firewall) { return -ENODEV; }