Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2652572imj; Mon, 11 Feb 2019 06:30:37 -0800 (PST) X-Google-Smtp-Source: AHgI3IaTin3tKreRyLZEMQnmYv4nfuxDJ7hJtu6gdrYJ+MTbRKNK6Ce9yNpxItIRnz8k4N71BEvN X-Received: by 2002:a62:12d9:: with SMTP id 86mr10578937pfs.214.1549895437493; Mon, 11 Feb 2019 06:30:37 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549895437; cv=none; d=google.com; s=arc-20160816; b=DAIovHdSC0UqE+P9f2Ia4vzKjs1B352YHlxNaJWo4xA2YOYOxbZYVJhDwkmZ43wYlT eAVqHySKOMZzTMxseO2zGAxnQL9KfwfnfdaSiJ0ZRaadeRM15hsyY0dYQjnaGSuV3iDb ozZPBCYajCsTlzuEM9YosvBdQDI9GxNhLNu4iKqrvGgqiLeXJwmVaQY+4Tqu6a+QbmKi zQAmr1PGkdV6pBz6ae7nnbgHRZPcAH8hpCVa1NA3zOIplATWY0s7CuGJFsGkTJtdDPVA byb+1pDDs3/xTNXQaJJJ8UUhnoTLHNyknBho5ShjETWR2nLQfkqFPT0HjYZa2vdNCdkj EuCA== 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 d4si4507755pgi.74.2019.02.11.06.30.21; Mon, 11 Feb 2019 06:30:37 -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 S1729805AbfBKO2G (ORCPT + 99 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 Content-Transfer-Encoding: 8bit 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(-) 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) {} -- 2.20.1