Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp3063408pxu; Mon, 19 Oct 2020 03:00:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyFKYmak2GttMOy9qjWMePPzBac3f3f/JFVMMSfHNhk1F8jvdoKWs/0oFJyxo6FWryIFlue X-Received: by 2002:a50:d987:: with SMTP id w7mr17069985edj.113.1603101626733; Mon, 19 Oct 2020 03:00:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603101626; cv=none; d=google.com; s=arc-20160816; b=xamH5MTVrIJciCazSXxna1EV2ZV5t/TW7L47j7+gy9/3F1WcexGEILRLIY6FrFQ9uo 73YWWZ/qQ7ct9Cf5EKALMXSS8+tmxUHzWJxWoz09E8iqm0EA3r2fMkapqlaCz5TPXIs7 jsaL8lqsRefJhZTAZ5jCOyR9KYkoFNa0S0eM0vwgxVagpnEdxN+9kpaNYyrR4al4BIXL TqTtl2DH6yXCvbtauslckHfqRdcGhijxpEsRQArDLosBEX7A7VGs5UKW2hdHIRJfq8HR fe72wI/R2LYKeZ7Dwr+EEjHrHM0qjpD2Y6pf0x3X/Omofu5HNYYOe6M0/szXua458XCI 0NYg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:to:from; bh=3uQWJS70PG71/u/9hPsHqV7l5VnvLFyZloq4iDalf08=; b=Trd4da6z+Gh1aJX8rlzvPgg6bEZ4bieG5WtvhCsb5p5MC7YnHz0YIcknzyfQkNfz7V Gd3jEPYjETZrbZJJiLWib6stWgGOyR6IzRgO6LmzJix/SAI/i9TZCkykQ9r0Ko6o6b+i sbSZN/CI3Ybj+52k8eMvWnAr1Ur0DgDjV8UTYn+trOwrzSjCbrqZOS4NTEofbFLwmEBM muKHluFXMuHN1h0PWvenc5z/FOfscT78UsBpL7DzRXe9Zp1oIaADxxBjTgUvHMpRIero kV2cRVODtCizGZqQ4qlUn48+e4YKrptkOLBPL6c9fvqz1jwAP9gT0OPrBQ7y7ZfGQR5v NTng== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x18si7442757edl.321.2020.10.19.03.00.01; Mon, 19 Oct 2020 03:00:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730905AbgJSCgp (ORCPT + 99 others); Sun, 18 Oct 2020 22:36:45 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:54376 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1728791AbgJSCgp (ORCPT ); Sun, 18 Oct 2020 22:36:45 -0400 Received: from DGGEMS405-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 3B394413605DF552B001; Mon, 19 Oct 2020 10:36:42 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by DGGEMS405-HUB.china.huawei.com (10.3.19.205) with Microsoft SMTP Server id 14.3.487.0; Mon, 19 Oct 2020 10:36:38 +0800 From: Tian Tao To: , , , Subject: [PATCH] random: Fix missing-prototypes in random.c Date: Mon, 19 Oct 2020 10:37:23 +0800 Message-ID: <1603075043-2502-1-git-send-email-tiantao6@hisilicon.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.69.192.56] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix the following warnings. drivers/char/random.c:2297:6: warning: no previous prototype for ‘add_hwgenerator_randomness’ [-Wmissing-prototypes] Signed-off-by: Tian Tao --- drivers/char/random.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/char/random.c b/drivers/char/random.c index d20ba1b..1bf06d6 100644 --- a/drivers/char/random.c +++ b/drivers/char/random.c @@ -321,6 +321,7 @@ #include #include #include +#include #include #include #include -- 2.7.4