From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DB5C7CCA48B for ; Thu, 23 Jun 2022 16:47:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232615AbiFWQrd (ORCPT ); Thu, 23 Jun 2022 12:47:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232512AbiFWQqr (ORCPT ); Thu, 23 Jun 2022 12:46:47 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8AC5B49B53; Thu, 23 Jun 2022 09:46:45 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 2235861F9A; Thu, 23 Jun 2022 16:46:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id ECA99C3411B; Thu, 23 Jun 2022 16:46:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1656002804; bh=DbleYfr6Dg73DiUR6DYT51RtPvn2e5V+kxmj2Zdr3s8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QNV8JBKkJFuYbuzjxvdITxdRItHauAaPUT/BD6Ptes0SeMa/P2LMVkez2NW7oKSPS 5EJJc4cPxYrjPcpGGB+Ju5w5WNzVhO/W+JFnDLWQohLZyMsV+3aZc1UYAsLh+vU26K E7PMm+az23B0kMz+gLaXRPv1nTlLQE8/vgLGw87c= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Theodore Tso , "Tobin C. Harding" , "Jason A. Donenfeld" Subject: [PATCH 4.9 030/264] random: Fix whitespace pre random-bytes work Date: Thu, 23 Jun 2022 18:40:23 +0200 Message-Id: <20220623164344.921159014@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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: "Tobin C. Harding" commit 8ddd6efa56c3fe23df9fe4cf5e2b49cc55416ef4 upstream. There are a couple of whitespace issues around the function get_random_bytes_arch(). In preparation for patching this function let's clean them up. Acked-by: Theodore Ts'o Signed-off-by: Tobin C. Harding Signed-off-by: Theodore Ts'o Signed-off-by: Jason A. Donenfeld Signed-off-by: Greg Kroah-Hartman --- drivers/char/random.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- a/drivers/char/random.c +++ b/drivers/char/random.c @@ -1795,7 +1795,7 @@ void get_random_bytes_arch(void *buf, in if (!arch_get_random_long(&v)) break; - + memcpy(p, &v, chunk); p += chunk; nbytes -= chunk; @@ -1806,7 +1806,6 @@ void get_random_bytes_arch(void *buf, in } EXPORT_SYMBOL(get_random_bytes_arch); - /* * init_std_data - initialize pool with system data *