Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1008360yba; Fri, 26 Apr 2019 12:25:33 -0700 (PDT) X-Google-Smtp-Source: APXvYqzBfXuhwkwSMw9Uwn1DKk+nx6ib/RmKPJ781WzhU6VEkgL+KN9JLIKiJ+DOHzv6Ac/+UEm2 X-Received: by 2002:a63:4620:: with SMTP id t32mr22824163pga.363.1556306733294; Fri, 26 Apr 2019 12:25:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556306733; cv=none; d=google.com; s=arc-20160816; b=yovTGD+a5id7uG621KzAdHiVU2ruvPo2Iz7ffDDXsFO2GIgmjpq3ybUdzzBQHSiYtU EYIf8CoFwsnRUDOkSAQ57mFkCU/UAFoUChyjjpxxYrIkYto7rH21ox9nlu0f+oeuSViq BJNBSV9WT9V9SVaHsVF8gQ3HDiJPigvHBG9HhCLOIHEINdSWXNQHmbNOYC9bzddFU1VF HyGFVCu+FNEUDZl1It6knE/VA/Xwc8BPn0U0X3jBGaFprE6Tu9LmJxLjVmXs7JGH2ulS UeSMKRS+Md4p5O3R2WLLE9CGVEvWWE3plHO62Ts8bzdug/BPMdwoxMRKRKJfD0ICjZ// FRsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=b7ipGmZUWCvILHKl1N8W9pjQhoVgXJtkFwGPFamiRLY=; b=PB7yUEcP8vHRJiMtl1XHQyF88WH6D1/qjLzNYc/szs2/rGjGyIrfcBZhvcLbv4aPMR MLhVlXbsqct9G5o/bKM8YMsdQQjv7oAD35ZsMEFl4tikW5lvY1410UlqYVNNOXYb9msE CYKsbpmG2akq08h28czETVhZlrTpQ1Zv9XdN6u6HwE/sZyL/rwlIjuegoAopT88STRZa IbvzBDwE5KMdKFodyTx56TirNyeND44Hd7lq5cMoq8U4l7qFsn9a5bUZvqpFed0B866F BF0hFaiURHisj+pvgfM3s8XV9vL+Bd2em0eYeLDxGQVAYRKGLwp7pz1l7GMOaTvCqmKZ LBKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ClRdcSpu; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k12si25494493plt.28.2019.04.26.12.25.17; Fri, 26 Apr 2019 12:25:33 -0700 (PDT) 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; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ClRdcSpu; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726869AbfDZTWj (ORCPT + 99 others); Fri, 26 Apr 2019 15:22:39 -0400 Received: from mail-vs1-f67.google.com ([209.85.217.67]:37272 "EHLO mail-vs1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726608AbfDZTWi (ORCPT ); Fri, 26 Apr 2019 15:22:38 -0400 Received: by mail-vs1-f67.google.com with SMTP id w13so2585629vsc.4 for ; Fri, 26 Apr 2019 12:22:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=b7ipGmZUWCvILHKl1N8W9pjQhoVgXJtkFwGPFamiRLY=; b=ClRdcSpuBDw2LXj56vYDefYJm65krG3lgo5PTlHF86S9ePKoStQtVJNG41mwFBzKmP S0oP0mKCNhBHfeM70vJLT7NL8+oWXMGTGHGVqhhkAELxcZ8Uv6CS3cN6+vavQWTfBnfT ghG7L4u/KTDzL63MK3dtev/3hqW3ce8fU8ci8TaLmLrRwSUysrdKzwErHvQzpemSt/ek e53tg/0RHfqy4y6vizRv2xJoeWcw522f/SdHQTH8njUbAWkpvQGdYF/F9OlqaM555+kA bdEESX6evOeocLYV0Tf4whn5CCZc2sItQ7ymEbH0Ku45yNc6n/ZMh3BqaFXxizlHNTUU ShFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=b7ipGmZUWCvILHKl1N8W9pjQhoVgXJtkFwGPFamiRLY=; b=PNw3gTkPRUfUvKrLYJ9s4jHY3Vwqqn4BnyaQBqZBzVu7L4KvrkTKxKSDYznJrZx2SY NwTx/PH2WFDVlJlE0ljPoYA2qp85L6JqXURVYNPKMkK/BoenBlM8LA1wqKYKjrqoqqli ZEnrrRS8bd0KT/n6HCfiI1a8EuVi62/xuXTO5Qi+ueyUFtcTtGdZhuTSEvXNSDzvJlP8 0bsGrsHoMt5GcQKkMyiJ5MoeoAsCX2CA3H7z9liEuD5KPv3x9X47IFX/0Ji8x5UOund8 +xP2XNNbgZ3SbGu0ibYvN/U7NXQBFjtKxKxjlY4aSzzjlj96SPXfgJs1AgtpGAko1/1C E++g== X-Gm-Message-State: APjAAAWs+z9Dhb/O5npQUUasNjwVMgC5v7fpZvmintPsOvdpbvZvtdeL hguazu5Xs5XhbGD8/h/2andg6ZBudC74tsrweNI= X-Received: by 2002:a67:f6c8:: with SMTP id v8mr14308952vso.73.1556306557529; Fri, 26 Apr 2019 12:22:37 -0700 (PDT) MIME-Version: 1.0 References: <20190426182948.GA10020@bharath12345-Inspiron-5559> In-Reply-To: <20190426182948.GA10020@bharath12345-Inspiron-5559> From: Bharath Veda Date: Sat, 27 Apr 2019 00:52:25 +0530 Message-ID: Subject: Re: [PATCH] drivers/char/random.c: Make add_hwgenerator_randomness static To: tytso@mit.edu, arnd@arndb.de, Greg KH Cc: LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Please ignore this patch. It breaks the build. Thank you On Fri, Apr 26, 2019 at 11:59 PM Bharath Vedartham wrote: > > Make add_hwgenerator_randomness static as it is only declared on > drivers/char/random.c > > Signed-off-by: Bharath Vedartham > --- > drivers/char/random.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/char/random.c b/drivers/char/random.c > index 38c6d1a..08fd00a 100644 > --- a/drivers/char/random.c > +++ b/drivers/char/random.c > @@ -2342,7 +2342,7 @@ randomize_page(unsigned long start, unsigned long range) > * Those devices may produce endless random bits and will be throttled > * when our pool is full. > */ > -void add_hwgenerator_randomness(const char *buffer, size_t count, > +static void add_hwgenerator_randomness(const char *buffer, size_t count, > size_t entropy) > { > struct entropy_store *poolp = &input_pool; > -- > 2.7.4 >