From patchwork Mon Feb 11 14:27:58 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gilad Ben-Yossef X-Patchwork-Id: 158008 Delivered-To: patch@linaro.org Received: by 2002:a02:48:0:0:0:0:0 with SMTP id 69csp2661638jaa; Mon, 11 Feb 2019 06:28:09 -0800 (PST) X-Google-Smtp-Source: AHgI3Iak/BOBrCuVpgppFbIbQV17mNgi5OD6QeU9PEGy4fCxEVTvvL+hCIJS/aKaDa1uQrJ+TKRo X-Received: by 2002:a63:f816:: with SMTP id n22mr20441415pgh.146.1549895289585; Mon, 11 Feb 2019 06:28:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549895289; cv=none; d=google.com; s=arc-20160816; b=UD1gVce7jbhZ2gzzPBadcy2nC2vvWj3El44corTbu3OPjATHVtlqYsZQofaFxEKY/g OueNnxRZfUFZMVRNBePRGx6rqsq4cH96eo9WJKs9dC5tC3nSwzNpe/iCHpp2KEQDr/2k 1AfaED55GySpl7BB/5FJvooiCeejRGz45RzJ1LyRg25tKkWNCyXuW/HImO8XIA3lzu1X 6aqC4LOxjb2sWrKxZyZtXW8Z3wBFFRxF7gvEPQpNXm741yC5SRC821O8dCSyedLatVQ9 1HHRq8ruKsHlAs4VgVT9gLFHgkYGYSFMyeJO6/PvE9+tWzUlTBRqGRTgX2GSUqSW91/j Fd+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=fPLmIDGySBJX6JHklvJhty0mOTOQr1XCJFxiRqlhxZQ=; b=IAExcstWnNoqH+iguRdXNuo8VURVHoNwGXQeuUYWAmXGU8kB1pGCsxplKCcMMjtF5o BKDESJQ13pj5BKam6M6l3ZPG5CtY0SOXfohbvNB21ln1wj/GN991ok/DTJeVJ/mDXuMi jnIQLEREbnrXN66sofR0I3mZ+ifCEv4LbmOXdgUFy9mBr0UnSB/x+B7liwG688cXElbr RgzmAbCE9Zp44NBs9JhjV1g501OhZ5aAmrK6d3mPtBcudphzC5H4rrzvdEeoZCU5ESLJ VyvUhyEyjeudB49U7h5MSRIYg/v7piWLShCxcBx1QjVEuYKpE+3kfv1VfD2Gr+rqZrUI ZMoQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 97si10786620ple.389.2019.02.11.06.28.09; Mon, 11 Feb 2019 06:28:09 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729809AbfBKO2G (ORCPT + 31 others); Mon, 11 Feb 2019 09:28:06 -0500 Received: from foss.arm.com ([217.140.101.70]:49808 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729796AbfBKO2D (ORCPT ); Mon, 11 Feb 2019 09:28:03 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 6B623A78; Mon, 11 Feb 2019 06:28:03 -0800 (PST) Received: from e110176-lin.benyossef.com (usa-sjc-mx-foss1.foss.arm.com [217.140.101.70]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 9B3EA3F575; Mon, 11 Feb 2019 06:28:01 -0800 (PST) From: Gilad Ben-Yossef To: Herbert Xu , "David S. Miller" Cc: Ofir Drag , stable@kernel.org, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] crypto: ccree: add missing inline qualifier Date: Mon, 11 Feb 2019 16:27:58 +0200 Message-Id: <20190211142758.16718-1-gilad@benyossef.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit 1358c13a48c4 ("crypto: ccree - fix resume race condition on init") was missing a "inline" qualifier for stub function used when CONFIG_PM is not set causing a build warning. Fixes: 1358c13a48c4 ("crypto: ccree - fix resume race condition on init") Cc: stable@kernel.org # v4.20 Signed-off-by: Gilad Ben-Yossef --- drivers/crypto/ccree/cc_pm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.20.1 diff --git a/drivers/crypto/ccree/cc_pm.h b/drivers/crypto/ccree/cc_pm.h index f62624357020..907a6db4d6c0 100644 --- a/drivers/crypto/ccree/cc_pm.h +++ b/drivers/crypto/ccree/cc_pm.h @@ -30,7 +30,7 @@ static inline int cc_pm_init(struct cc_drvdata *drvdata) return 0; } -static void cc_pm_go(struct cc_drvdata *drvdata) {} +static inline void cc_pm_go(struct cc_drvdata *drvdata) {} static inline void cc_pm_fini(struct cc_drvdata *drvdata) {}