From patchwork Wed Apr 19 09:11:35 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: SF Markus Elfring X-Patchwork-Id: 9687091 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5925F60375 for ; Wed, 19 Apr 2017 09:12:13 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4930C2838E for ; Wed, 19 Apr 2017 09:12:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3C48D283F4; Wed, 19 Apr 2017 09:12:13 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C683B2838E for ; Wed, 19 Apr 2017 09:12:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933534AbdDSJLz (ORCPT ); Wed, 19 Apr 2017 05:11:55 -0400 Received: from mout.web.de ([212.227.15.3]:52565 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761351AbdDSJLy (ORCPT ); Wed, 19 Apr 2017 05:11:54 -0400 Received: from [192.168.1.2] ([77.182.113.86]) by smtp.web.de (mrweb003 [213.165.67.108]) with ESMTPSA (Nemesis) id 0LkhAC-1cQbx02tym-00aVml; Wed, 19 Apr 2017 11:11:38 +0200 Subject: [PATCH 2/2] n2rng: Combine substrings for two messages in n2rng_probe() From: SF Markus Elfring To: linux-crypto@vger.kernel.org, "David S. Miller" , Herbert Xu , Matt Mackall , Shannon Nelson Cc: LKML , kernel-janitors@vger.kernel.org References: <4d9fbb01-e12f-eb5c-7ecd-5a2a10fd5110@users.sourceforge.net> Message-ID: Date: Wed, 19 Apr 2017 11:11:35 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0 MIME-Version: 1.0 In-Reply-To: <4d9fbb01-e12f-eb5c-7ecd-5a2a10fd5110@users.sourceforge.net> Content-Language: en-GB X-Provags-ID: V03:K0:QMi4fVL0SP8TMQRma2opCEf9IxZFHEjYVCbdzRa6l7nyqSh5VAk alHJK8fi58KFd7CQPCG8DBw58vP3V4sxyTdIXRG23ay1GmBhdlik9Xgrlng8c4oCFBIKHuM Bydkxfegc4Yc+A5+GWtrO6iWhJC/OAG362r4auR8wmAKed1fQixljlTjK80Davmwd6QJtOQ 4q5be/2g5KbwV1KN7m6/w== X-UI-Out-Filterresults: notjunk:1; V01:K0:ic1d2QJ1T78=:ZVByhWeww6cep9gKW2FOms aK2k749XXYKn9Dw7LbobAfBmMulDz50wz8kNuVYmoAQptBGqWHdM4hXaaG48wsB6Zc1dT1U2T D+7YyRFKSLAjJYxM2lFYKEaO3mQt0/IBL0xYfFA71kxk0Agt+iL3PUDcYLugcNFlx7d7PsnsJ 51qlivW9dS7ZEMe/Hj0X2/I++6KFg1LsGmVtg3+Md7ujtXSQaRdOu0g15AxhxslhalB3BzV5O AA/NEERD7nW9/CJ0W1bkE/56O1VGY3Grt0Gd+5RvaaewzyvUhsXkk+avTZWDRuoRTPqaXzIoH 4W8KnCUQ6+toWZI4djYCFtmIPbSp3bvLd/ZYyk1axyPMz+QNLosmhf1+WrcGcVPb67KUR9izf /jUf4hlfSH+fwXk5amu6OkH1GBbgjl6l1oX5de/yYHZ5F9ol5yHpVtAyoF9bwx3xHS0ca3MTg U+Z+tMglBap5CjnhnFEj0hjT0a1UhkcAKBt5WlvS+6FeahbNiLEOpDL37Fyod87Mq0HXiOggq K/vEE4nmCqfmwdNiEx9aLcrN7JW169xyK1Dkixa2GSniArhMeNpMF6J4Vq/AdTQLVC3vFnfiK TDT4vuqlTNdoKWe5T+VvFRyUP2EtU71nPthdBlht9U1VsBWFkE/cDVKftZlFJb3vzSI5PJzW+ y6vbcmXM+VUqviKXtHO8clAWO+Z/EXNhe5j1mWuZ7GSJcdlUMOdVDJZerIHaB0oeuLMX5zBbB RkdMij5rYGbIq6ydnUypmYM9dhh0Qer8R/VIdQL8+ox3PY+zzYzp3CMlforLGtDpqIctVGeKc eTJAbUJ Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Markus Elfring Date: Wed, 19 Apr 2017 10:50:04 +0200 The script "checkpatch.pl" pointed information out like the following. WARNING: quoted string split across lines Thus fix the affected source code places. Signed-off-by: Markus Elfring Acked-by: Shannon Nelson --- drivers/char/hw_random/n2-drv.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/char/hw_random/n2-drv.c b/drivers/char/hw_random/n2-drv.c index 92dd4e925315..f3e67c768101 100644 --- a/drivers/char/hw_random/n2-drv.c +++ b/drivers/char/hw_random/n2-drv.c @@ -723,16 +723,16 @@ static int n2rng_probe(struct platform_device *op) if (sun4v_hvapi_register(HV_GRP_RNG, np->hvapi_major, &np->hvapi_minor)) { - dev_err(&op->dev, "Cannot register suitable " - "HVAPI version.\n"); + dev_err(&op->dev, + "Cannot register suitable HVAPI version.\n"); goto out; } } if (np->flags & N2RNG_FLAG_MULTI) { if (np->hvapi_major < 2) { - dev_err(&op->dev, "multi-unit-capable RNG requires " - "HVAPI major version 2 or later, got %lu\n", + dev_err(&op->dev, + "multi-unit-capable RNG requires HVAPI major version 2 or later, got %lu\n", np->hvapi_major); goto out_hvapi_unregister; }