From patchwork Fri Aug 26 09:56:24 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Baoyou Xie X-Patchwork-Id: 74778 Delivered-To: patch@linaro.org Received: by 10.140.29.52 with SMTP id a49csp238242qga; Fri, 26 Aug 2016 02:57:46 -0700 (PDT) X-Received: by 10.98.9.11 with SMTP id e11mr4312620pfd.153.1472205466078; Fri, 26 Aug 2016 02:57:46 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x4si20534018pfa.54.2016.08.26.02.57.45 for ; Fri, 26 Aug 2016 02:57:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-crypto-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=fail (p=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753111AbcHZJ5o (ORCPT ); Fri, 26 Aug 2016 05:57:44 -0400 Received: from mail-pa0-f48.google.com ([209.85.220.48]:36388 "EHLO mail-pa0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752098AbcHZJ5n (ORCPT ); Fri, 26 Aug 2016 05:57:43 -0400 Received: by mail-pa0-f48.google.com with SMTP id di2so25979365pad.3 for ; Fri, 26 Aug 2016 02:57:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=7lhnDl76nYOVHpdCk7rFt6FMnhrhmlEkdNllw8jTRz4=; b=JSAHzIG6deTwqTZQAJ01Y6d78XlQkZIaVQKs4ENyArobXHhY6GuWItlV5CXQo+6mOB 6ieNmh8YMVjUC/Ypu+XgTPSW9j/YpHMcjbSplH0/ANrU8fa8HIEZ/8SB4PGcDW7ST64K xmMU8swpEyb3uho+TXzKRf/fQY511L38xY3kQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=7lhnDl76nYOVHpdCk7rFt6FMnhrhmlEkdNllw8jTRz4=; b=U2GaMz+hxnVFnOL60lq2vLMgANRSk633jzviViARtNsZC/hlEnNItiQ84wIwFA5Eyy hPPbFHHzPmiwHYpQYR0Ve2RkXpu6T1Njm20mOVeJHcsTFGBCv3E98+LxNZnu7ltecRth asEI/pWbw0UHFUtXl1TyaP91058iWcX8u5viTTi0NtZbd/XWfn5hFpPMB8Uity7uTTCo yQtpUh14RqxEoxBWXuIien97liaikgY/vQsDtHkxw6SPifjzv5epV1j7AqWTZtsoRcQV VfsQqcf9P/dYGAat0kiUJLPdI1gx8ZZkE6NLaNmLh7Hto6R6Piq4g8ToIR9R/EmJQcTZ zLyg== X-Gm-Message-State: AE9vXwOf0Yei3Lyz15dCSQRAzr4JvotPDTEeTBB2RipkTQQbyGaCTwClzGbi8qLPTTUKLqAj X-Received: by 10.66.161.132 with SMTP id xs4mr4330691pab.140.1472205462681; Fri, 26 Aug 2016 02:57:42 -0700 (PDT) Received: from localhost.localdomain ([45.56.152.33]) by smtp.gmail.com with ESMTPSA id wp4sm27270020pab.15.2016.08.26.02.57.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 26 Aug 2016 02:57:42 -0700 (PDT) From: Baoyou Xie To: herbert@gondor.apana.org.au, davem@davemloft.net Cc: arnd@arndb.de, baoyou.xie@linaro.org, tudor-dan.ambarus@nxp.com, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, xie.baoyou@zte.com.cn Subject: [PATCH] fix:caam:ctrl:add missing header dependencies Date: Fri, 26 Aug 2016 17:56:24 +0800 Message-Id: <1472205384-29888-1-git-send-email-baoyou.xie@linaro.org> X-Mailer: git-send-email 2.7.4 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org We get 1 warning when biuld kernel with W=1: drivers/crypto/caam/ctrl.c:398:5: warning: no previous prototype for 'caam_get_era' [-Wmissing-prototypes] In fact, this function is declared in drivers/crypto/caam/ctrl.h, so this patch add missing header dependencies. Signed-off-by: Baoyou Xie --- drivers/crypto/caam/ctrl.c | 1 + 1 file changed, 1 insertion(+) -- 2.7.4 -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/crypto/caam/ctrl.c b/drivers/crypto/caam/ctrl.c index 0ec112e..46e72ed 100644 --- a/drivers/crypto/caam/ctrl.c +++ b/drivers/crypto/caam/ctrl.c @@ -14,6 +14,7 @@ #include "jr.h" #include "desc_constr.h" #include "error.h" +#include "ctrl.h" bool caam_little_end; EXPORT_SYMBOL(caam_little_end);