Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756630AbdDGVGA (ORCPT ); Fri, 7 Apr 2017 17:06:00 -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 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-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit 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: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2059 Lines: 54 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 --- 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); } -- 2.12.2