Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp6034124iog; Thu, 23 Jun 2022 10:00:14 -0700 (PDT) X-Google-Smtp-Source: AGRyM1u8AynFWwQuKTnvIRhuPMnQE1mTnshFim9eTbLFCqxQsnoAU845VBm5Bkr35xHBn/Dt9xa+ X-Received: by 2002:a17:907:2dab:b0:722:d45e:70f7 with SMTP id gt43-20020a1709072dab00b00722d45e70f7mr8951107ejc.28.1656003614084; Thu, 23 Jun 2022 10:00:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656003614; cv=none; d=google.com; s=arc-20160816; b=BYckOy4o85D85lZmoc5dDkEwT2/L4o3Z0qRiFXQ8t9d0Bjulyb+sGaXr/tLnBkmA+2 CWEO6seoMwp4KjHDXng9h5jyU90mB/dVLVhb42tkmoeSXC2SH4SbhIsPGcR7GgGdlPTw LlHa18O///hJz/pNEKmGUXAAD0v55nq24tOXMQXVn26o/XgZgJmeYpEv+CSSZpECHdg/ WsFcLyDgsoG3RAJtb9jsrMHMWAYHIqOvr2bRzO+oibJpY310qrwSc/hDzEUk3MgDNrJ7 Z9ObRsMMFuqtmPPMslJ33fbrOrt0LETAd/cjHwEaV2WlfH7lYx2IAUd4R3QpRvg+t8+p a7LQ== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=DTwSVO15r4skLNtlCC52yIawH+EFK9GmcKvVWYwAKsk=; b=WX/y7HKYjITdGqT1qczDP++89l1TgyCmc96+tWEpsNvKYP9dRiMblm+hdgYGHvp+Iw UBJIpDCtk73to3uxAKPWFDWaQrY8k6NHUJeXrYhqbVPBKB7xiBLSYIAuWDkPR/TvfeRe O7ExYa8sBCeEN/jik9gXM5zIl3ZPoK0waubgAnqRbVLeLLMZZjz3gPrnnI5tMCCt6xFe uiULCsxg0CyyXn1SYSrBnPQg+ZWz7pLd+BzlOB7KMjGnFhMImXk2K4g12/TGT1FTBFz1 ZplylA51voPps5qqGkhDoWnb0l7eIlwJy72ZJ9tSZsfw4qKV5iczBFTGh47O2kkrsWRH 8qPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Jt7LnmEt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m25-20020a50c199000000b00435ccc1825csi51237edf.402.2022.06.23.09.59.40; Thu, 23 Jun 2022 10:00:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Jt7LnmEt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233089AbiFWQ5a (ORCPT + 99 others); Thu, 23 Jun 2022 12:57:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232048AbiFWQwh (ORCPT ); Thu, 23 Jun 2022 12:52:37 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 81160767E; Thu, 23 Jun 2022 09:52:35 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 39010B8248F; Thu, 23 Jun 2022 16:52:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8495BC341C5; Thu, 23 Jun 2022 16:52:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1656003153; bh=b9t6lL+INKNOFLpFIcHfpH8GJGOZCDDRQxD+dRkzac8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Jt7LnmEt4TtPSYbvL+zfhksgJFIrUFtAr/InYRCYVzD21yBYK85sHmy1hTNzRYw7R 0AFx+K4kEFWRrQOzlIBBUUJoiP3Pr/wcg2NS7kC9oA0uyB0X1bAq9AaUpFvdgoBANJ QtWrZ1+lC7bs2ZtICeOW3UxJ3dVpkRi1nuvlL1Tw= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Corentin Labbe , Herbert Xu , "Jason A. Donenfeld" Subject: [PATCH 4.9 147/264] hwrng: core - Rewrite the header Date: Thu, 23 Jun 2022 18:42:20 +0200 Message-Id: <20220623164348.223959283@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220623164344.053938039@linuxfoundation.org> References: <20220623164344.053938039@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Corentin LABBE commit dd8014830d2b1fdf5328978ada706df3ec180c21 upstream. checkpatch have lot of complaint about header. Furthermore, the header have some offtopic/useless information. This patch rewrite a proper header. Signed-off-by: Corentin Labbe Signed-off-by: Herbert Xu Signed-off-by: Jason A. Donenfeld Signed-off-by: Greg Kroah-Hartman --- drivers/char/hw_random/core.c | 38 +++++++++----------------------------- 1 file changed, 9 insertions(+), 29 deletions(-) --- a/drivers/char/hw_random/core.c +++ b/drivers/char/hw_random/core.c @@ -1,33 +1,13 @@ /* - Added support for the AMD Geode LX RNG - (c) Copyright 2004-2005 Advanced Micro Devices, Inc. - - derived from - - Hardware driver for the Intel/AMD/VIA Random Number Generators (RNG) - (c) Copyright 2003 Red Hat Inc - - derived from - - Hardware driver for the AMD 768 Random Number Generator (RNG) - (c) Copyright 2001 Red Hat Inc - - derived from - - Hardware driver for Intel i810 Random Number Generator (RNG) - Copyright 2000,2001 Jeff Garzik - Copyright 2000,2001 Philipp Rumpf - - Added generic RNG API - Copyright 2006 Michael Buesch - Copyright 2005 (c) MontaVista Software, Inc. - - Please read Documentation/hw_random.txt for details on use. - - ---------------------------------------------------------- - This software may be used and distributed according to the terms - of the GNU General Public License, incorporated herein by reference. - + * hw_random/core.c: HWRNG core API + * + * Copyright 2006 Michael Buesch + * Copyright 2005 (c) MontaVista Software, Inc. + * + * Please read Documentation/hw_random.txt for details on use. + * + * This software may be used and distributed according to the terms + * of the GNU General Public License, incorporated herein by reference. */ #include