From patchwork Fri Apr 7 21:05:23 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: 9670423 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 E6068602B3 for ; Fri, 7 Apr 2017 21:05:54 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D7C0428652 for ; Fri, 7 Apr 2017 21:05:54 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CB74E28665; Fri, 7 Apr 2017 21:05:54 +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.4 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=ham 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 54DDD28652 for ; Fri, 7 Apr 2017 21:05:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754935AbdDGVFx (ORCPT ); Fri, 7 Apr 2017 17:05:53 -0400 Received: from mout.web.de ([212.227.17.11]:62702 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754070AbdDGVFw (ORCPT ); Fri, 7 Apr 2017 17:05:52 -0400 Received: from [192.168.1.2] ([77.181.117.94]) by smtp.web.de (mrweb101 [213.165.67.124]) with ESMTPSA (Nemesis) id 0M6V5b-1cBLAb0XQB-00yNiD; Fri, 07 Apr 2017 23:05:26 +0200 Subject: [PATCH 5/9] IB/IPoIB: Combine substrings for three messages From: SF Markus Elfring To: linux-rdma@vger.kernel.org, target-devel@vger.kernel.org, David Ahern , Doug Ledford , Erez Shitrit , Feras Daoud , Hal Rosenstock , Leon Romanovsky , Mark Bloch , Or Gerlitz , Paolo Abeni , Roi Dayan , Sagi Grimberg , Sean Hefty , Yuval Shaia , Zhu Yanjun Cc: LKML , kernel-janitors@vger.kernel.org References: Message-ID: <8267b19e-d6a6-ac77-6b0e-e184e690db9b@users.sourceforge.net> Date: Fri, 7 Apr 2017 23:05:23 +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: Content-Language: en-GB X-Provags-ID: V03:K0:MoX3b0loV0BNpW3kyvcIQv4cYgpjg5hLpFbfq9ZEGHNIi2yiguN mRT9kF7KiLW/zulB+3MDrfF2HLk4wXewCBTaPhsiyq0KyvUqSaOs8jXO1Xq9f6M84G/PP5/ hOA/wkCHWnUwS6sSi3/L1wkGl7Dvr/8KBaBY0vQSmHdijJBGdUoyTMMVISolKEWcgtjMQjN e6b8iuDJo5Q6UMR6ROMFw== X-UI-Out-Filterresults: notjunk:1; V01:K0:gVtpACqF/aM=:V49cATrylu71okJfOEBxwj ZX6tTDCWDJDo4piC426qXvnWhvylWoXCy+7LunaDWsCQ+Lan/kr9aUVEhQi77W4HIWTWbTNkA U5lyay+QKJGb85T37se/vaEzKxwtpoMIpOyQuQ1gI6zr7dg6xH1Fqeg3ZJ7wSXrs8qRSu7TGv d0BHFnA+f5SKD56H4ZLvDChd5cC7msXG/qF0efGtT8BsSObtxG9C6Klm95mBz6oXLgapu+mRR lkfWCPLiZJmicFX4n5lfWtRc921JyDQJwE+DD7VdaBnGzoPPQhLEL2V4fJEshhY9yG1RJ5GQN jabM0+uI8AWcdPfdZaF3HhQaUCFIJTZmLgxlR2GZiPay6Mt6ASYprVd/TBFzl+mHwOSMOT3Qo 0/s/n6K0FGq0yy/juPB/wkFCrtYvj4dL2CA8BhvyC9MIDUEcm6iHgqd8XSFx1L9ioecRPTZ/Z a9PC6arF97jgnNygPnyQf0O7pQvFchFt8jvnRi9UBw0sCkcg3vLYDWXfx2nqVEnh04IakkRnJ zVSGx7UD5ygZZeNdREh9VL94pyJWXTT6B/M0TvluoonmLrFt0Kv93ZSprWEsZ05Y1+CySFZQQ Gd6H2w1TxVvN3ZMHaNpuF4g/E+Cnch9dGNG2mUH5eExGOK0+efQNFNgSnn23mUcowRahtuCto NhR3EU8Q+hjvUomhatA6HCjBucmSdULkfte+GK4sLDRSvrFjEyPUKsGWve3x1DLLUQ4W6mJ4Z DKkv3+777S6u2ayLr1SAUUZWJMVXbi3Fa681xfxdAw9/NbBsAR3Qap4zXqoXyiJcsYcKA8wSj A3EV0y5 Sender: target-devel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: target-devel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Markus Elfring Date: Fri, 7 Apr 2017 21:06:08 +0200 The script "checkpatch.pl" pointed information out like the following. WARNING: quoted string split across lines Thus fix affected source code places. Signed-off-by: Markus Elfring Reviewed-by: Yuval Shaia --- drivers/infiniband/ulp/ipoib/ipoib_main.c | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/drivers/infiniband/ulp/ipoib/ipoib_main.c b/drivers/infiniband/ulp/ipoib/ipoib_main.c index 55581417eb43..43aef0ca53ad 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib_main.c +++ b/drivers/infiniband/ulp/ipoib/ipoib_main.c @@ -226,8 +226,9 @@ static int ipoib_change_mtu(struct net_device *dev, int new_mtu) priv->admin_mtu = new_mtu; if (priv->mcast_mtu < priv->admin_mtu) - ipoib_dbg(priv, "MTU must be smaller than the underlying " - "link layer MTU - 4 (%u)\n", priv->mcast_mtu); + ipoib_dbg(priv, + "MTU must be smaller than the underlying link layer MTU - 4 (%u)\n", + priv->mcast_mtu); dev->mtu = min(priv->mcast_mtu, priv->admin_mtu); @@ -480,8 +481,8 @@ int ipoib_set_mode(struct net_device *dev, const char *buf) /* flush paths if we switch modes so that connections are restarted */ if (IPOIB_CM_SUPPORTED(dev->dev_addr) && !strcmp(buf, "connected\n")) { set_bit(IPOIB_FLAG_ADMIN_CM, &priv->flags); - ipoib_warn(priv, "enabling connected mode " - "will cause multicast packet drops\n"); + ipoib_warn(priv, + "enabling connected mode will cause multicast packet drops\n"); netdev_update_features(dev); dev_set_mtu(dev, ipoib_cm_max_mtu(dev)); rtnl_unlock(); @@ -1855,8 +1856,8 @@ void ipoib_set_umcast(struct net_device *ndev, int umcast_val) if (umcast_val > 0) { set_bit(IPOIB_FLAG_UMCAST, &priv->flags); - ipoib_warn(priv, "ignoring multicast groups joined directly " - "by userspace\n"); + ipoib_warn(priv, + "ignoring multicast groups joined directly by userspace\n"); } else clear_bit(IPOIB_FLAG_UMCAST, &priv->flags); }