From patchwork Tue Jun 25 08:54:45 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Baltieri X-Patchwork-Id: 18101 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-gh0-f198.google.com (mail-gh0-f198.google.com [209.85.160.198]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id EC05825E10 for ; Tue, 25 Jun 2013 08:55:48 +0000 (UTC) Received: by mail-gh0-f198.google.com with SMTP id r13sf12662163ghr.5 for ; Tue, 25 Jun 2013 01:55:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-beenthere:x-forwarded-to:x-forwarded-for :delivered-to:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state:x-original-sender :x-original-authentication-results:precedence:mailing-list:list-id :x-google-group-id:list-post:list-help:list-archive:list-unsubscribe; bh=Me4D58Fx0hkIKMHmQij4yimxiwxJJFIvBT/uhSy8+yo=; b=MpHo903Iw4JpQ0zZJkyvm0t8knQB3s1sHu/JeFrR62IJ7RiTFiorVZFfx3kR9vAPQo VD9ul25E02Bvqp2kdGY5bi14Thiq+ZFKKalee5fW+hHPj8UZT7Hc+LyUGQhlv5EQ35zK qStFTpL7QJG+KVct7kl8T6tahBms48AGvqMQfOiJRSg40H3hNsJtMXgNn6h6RhFKkdru 3UoFlZQzn8BfpP2dCofkSyNcj+s1Ne3PN0jgexd3+LxXho5qhkdWbBzAUTV5QQ5B5rJV RJUADQ4EDlwiKpNL0o8WJf0CswpdtR2Jj8uwm4WF7uwfeMZ6UL0aLGR3pIOTVHjJoELD wqKQ== X-Received: by 10.236.13.68 with SMTP id a44mr15603360yha.22.1372150548538; Tue, 25 Jun 2013 01:55:48 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.118.227 with SMTP id kp3ls2265453qeb.19.gmail; Tue, 25 Jun 2013 01:55:48 -0700 (PDT) X-Received: by 10.58.6.210 with SMTP id d18mr13464532vea.96.1372150548381; Tue, 25 Jun 2013 01:55:48 -0700 (PDT) Received: from mail-vb0-x232.google.com (mail-vb0-x232.google.com [2607:f8b0:400c:c02::232]) by mx.google.com with ESMTPS id pa20si3431925veb.14.2013.06.25.01.55.48 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Jun 2013 01:55:48 -0700 (PDT) Received-SPF: neutral (google.com: 2607:f8b0:400c:c02::232 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=2607:f8b0:400c:c02::232; Received: by mail-vb0-f50.google.com with SMTP id w16so9267604vbb.9 for ; Tue, 25 Jun 2013 01:55:48 -0700 (PDT) X-Received: by 10.58.119.233 with SMTP id kx9mr4927120veb.3.1372150548307; Tue, 25 Jun 2013 01:55:48 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.58.165.8 with SMTP id yu8csp58967veb; Tue, 25 Jun 2013 01:55:46 -0700 (PDT) X-Received: by 10.15.43.11 with SMTP id w11mr28603409eev.27.1372150546037; Tue, 25 Jun 2013 01:55:46 -0700 (PDT) Received: from mail-ee0-x22b.google.com (mail-ee0-x22b.google.com [2a00:1450:4013:c00::22b]) by mx.google.com with ESMTPS id s8si14623959ees.178.2013.06.25.01.55.43 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 25 Jun 2013 01:55:46 -0700 (PDT) Received-SPF: neutral (google.com: 2a00:1450:4013:c00::22b is neither permitted nor denied by best guess record for domain of fabio.baltieri@linaro.org) client-ip=2a00:1450:4013:c00::22b; Received: by mail-ee0-f43.google.com with SMTP id l10so6553842eei.2 for ; Tue, 25 Jun 2013 01:55:43 -0700 (PDT) X-Received: by 10.14.110.194 with SMTP id u42mr28818265eeg.128.1372150543606; Tue, 25 Jun 2013 01:55:43 -0700 (PDT) Received: from localhost (host156-187-dynamic.52-82-r.retail.telecomitalia.it. [82.52.187.156]) by mx.google.com with ESMTPSA id n5sm34322335eed.9.2013.06.25.01.55.41 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 25 Jun 2013 01:55:42 -0700 (PDT) From: Fabio Baltieri To: Herbert Xu Cc: linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Linus Walleij , Lee Jones , Fabio Baltieri Subject: [PATCH 2/6] crypto: ux500/hash: add missing static qualifiers Date: Tue, 25 Jun 2013 10:54:45 +0200 Message-Id: <1372150489-25594-3-git-send-email-fabio.baltieri@linaro.org> X-Mailer: git-send-email 1.8.2 In-Reply-To: <1372150489-25594-1-git-send-email-fabio.baltieri@linaro.org> References: <1372150489-25594-1-git-send-email-fabio.baltieri@linaro.org> X-Gm-Message-State: ALoCoQlSi+M25OXniNMOw229gNkVQrr/qQFxNlX5jlzO1jGw5iwpb6dqEs/XpYnAWaYMWwNx1jZ7 X-Original-Sender: fabio.baltieri@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 2607:f8b0:400c:c02::232 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , Add missing static qualifiers to hash_process_data and hash_hw_final. Signed-off-by: Fabio Baltieri --- drivers/crypto/ux500/hash/hash_core.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/crypto/ux500/hash/hash_core.c b/drivers/crypto/ux500/hash/hash_core.c index 154f437..dbf7b63 100644 --- a/drivers/crypto/ux500/hash/hash_core.c +++ b/drivers/crypto/ux500/hash/hash_core.c @@ -792,8 +792,7 @@ void hash_begin(struct hash_device_data *device_data, struct hash_ctx *ctx) HASH_CLEAR_BITS(&device_data->base->str, HASH_STR_NBLW_MASK); } -int hash_process_data( - struct hash_device_data *device_data, +static int hash_process_data(struct hash_device_data *device_data, struct hash_ctx *ctx, struct hash_req_ctx *req_ctx, int msg_length, u8 *data_buffer, u8 *buffer, u8 *index) { @@ -992,7 +991,7 @@ out: * hash_hw_final - The final hash calculation function * @req: The hash request for the job. */ -int hash_hw_final(struct ahash_request *req) +static int hash_hw_final(struct ahash_request *req) { int ret = 0; struct crypto_ahash *tfm = crypto_ahash_reqtfm(req);