From patchwork Sat Jun 6 02:20:35 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephan Mueller X-Patchwork-Id: 6558771 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: X-Original-To: patchwork-linux-crypto@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 1A45CC0020 for ; Sat, 6 Jun 2015 02:20:43 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 46988207B4 for ; Sat, 6 Jun 2015 02:20:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 0BCB8206F0 for ; Sat, 6 Jun 2015 02:20:41 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752141AbbFFCUk (ORCPT ); Fri, 5 Jun 2015 22:20:40 -0400 Received: from mail.eperm.de ([89.247.134.16]:46096 "EHLO mail.eperm.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751013AbbFFCUj (ORCPT ); Fri, 5 Jun 2015 22:20:39 -0400 Received: from tachyon.chronox.de (70-90-186-157-Washington.hfc.comcastbusiness.net [70.90.186.157]) by mail.eperm.de (Postfix) with ESMTPSA id DE20F2A0091; Sat, 6 Jun 2015 04:20:29 +0200 (CEST) From: Stephan Mueller To: herbert@gondor.apana.org.au Cc: linux-crypto@vger.kernel.org Subject: [PATCH] crypto: drbg - decrease verbosity Date: Sat, 06 Jun 2015 04:20:35 +0200 Message-ID: <7507652.XDRqQzIvs8@tachyon.chronox.de> User-Agent: KMail/4.14.7 (Linux/4.0.4-303.fc22.x86_64; KDE/4.14.8; x86_64; ; ) MIME-Version: 1.0 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP When compiling the DRBG statically into the kernel, the testmgr allocation of the DRBG may be done at a time the Jitter RNG is not available. The testmgr instantiates a number of DRBGs for performing testing which may cause a flurry of logs about unavailable Jitter RNG. Note, the Jitter RNG is not needed for the testmgr operation anyways. Signed-off-by: Stephan Mueller --- crypto/drbg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crypto/drbg.c b/crypto/drbg.c index 7339cc5..3fed67e 100644 --- a/crypto/drbg.c +++ b/crypto/drbg.c @@ -1279,7 +1279,7 @@ static inline int drbg_alloc_state(struct drbg_state *drbg) drbg->jent = crypto_alloc_rng("jitterentropy_rng", 0, 0); if(IS_ERR(drbg->jent)) { - pr_info("DRBG: could not allocate Jitter RNG handle for seeding\n"); + pr_devel("DRBG: could not allocate Jitter RNG handle for seeding\n"); /* * As the Jitter RNG is a module that may not be present, we * continue with the operation and do not fully tie the DRBG