From patchwork Wed Feb 8 21:18:43 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: 9563443 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 9C972601C3 for ; Wed, 8 Feb 2017 21:20:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ED039284F3 for ; Wed, 8 Feb 2017 21:20:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E208D284FF; Wed, 8 Feb 2017 21:20:57 +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=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 70C0F284F3 for ; Wed, 8 Feb 2017 21:20:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751350AbdBHVUz (ORCPT ); Wed, 8 Feb 2017 16:20:55 -0500 Received: from mout.web.de ([212.227.15.3]:57847 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751324AbdBHVUx (ORCPT ); Wed, 8 Feb 2017 16:20:53 -0500 Received: from [192.168.1.2] ([77.181.90.255]) by smtp.web.de (mrweb002 [213.165.67.108]) with ESMTPSA (Nemesis) id 0LtoCT-1cTZKK0XQL-011AYk; Wed, 08 Feb 2017 22:18:45 +0100 Subject: [PATCH 08/14] RDMA/cxgb4: Adjust construction of two error messages in recover_lost_dbs() To: linux-rdma@vger.kernel.org, Doug Ledford , Hal Rosenstock , Sean Hefty , Steve Wise References: <0aff92fa-2891-333a-2e1e-ca309db2ec72@users.sourceforge.net> Cc: LKML , kernel-janitors@vger.kernel.org From: SF Markus Elfring Message-ID: Date: Wed, 8 Feb 2017 22:18:43 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 MIME-Version: 1.0 In-Reply-To: <0aff92fa-2891-333a-2e1e-ca309db2ec72@users.sourceforge.net> X-Provags-ID: V03:K0:UQmnBVyyZZPzjHCDPs8YTdl4GzCIUTEdidPkOvSDP3r+315ryRJ 5U9HhzXP0YB5wqU5RsCDVtbmcpin3n25R2wi9fWh2c6U5kCBKZEvuHoYEvGthujuL0I1Rhm dDcjBOXBjxNbvu+xf5Y02z/vCy3uOtZFE5MWAKFJxO9z6HRS4KvVSxfU/aTvR1z2glvTWgP cSDH+qVV41Zf8Bv0rxp0g== X-UI-Out-Filterresults: notjunk:1; V01:K0:cNVPuxO+07o=:g3n3H5LYt5AtfDj/YCpn8j u253IE5JoxEKUJr+Ckd0slcCoSKGGURjjP8H3AlX/ZvNWop0oqUFXeAewbyCPg8LHZx8nnGf1 TKE6HnCYDddS0AjQHriMD/3K3Tua09pJWnwacg6hOcPLetDBFc0S5ZuNB7hsJ+1oKDhgTWxdH bGVnUYjZklYvlfeIds4X825P0yWT4HIXSe5tZPQcBMAYl7ZkVPLE3DkG84XYycvM4iF3M8rz7 /CV7436TO00cJOJkzGBA/G2ws7v2DNYzZnEg8YUXx2hPV0yZJzocYzCK1/1cgR9jZQaSBhtSt Lhn3ybDZNPnUoI49RKTdv57dt1co2XJBWe2tb1UezOs7daGgLWhBZ8bYzJ1MQUwDdBs5m9xeA /pkMl5GCF8t+ubhBZGYGGJInlcWeeWYy56afWpZMG6FVSm6kr74qb3Tr25tN+epvNvfpwIUWo 96FMgXapxgNBrh65ETA51DncquvUpDdyUssF+4ABkq4f5VMYiWKuaW6jLW6JXfgffdObMiQOt 4MES9cKkzO4gyDQNlHR8uM5NlJAoNVFp8ZnZhCy2VkfzDQwY9jRf3AOqcEKDZsG8n3jJmiBp4 8kycq4lT1/dZKekRoTiOt8Vqg8dCcDZxXvywCNgvS+lliMGJWx9ZEHwHJMytwEQaqgn63kgxX aUE05dEMjmKmhZsnqUgaqkROEtl4BCz3/kgQQcMfmJVELfN6UwNYdC+Phgd74pC4S8ppROKYH vkmVKg2D/kQr4JInzAU+pAuyMQUNhZqTrTUimALoo/3XWqeoD7IrjyvY53IYf3LZCKyZpni0H FEbM8dj Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Markus Elfring Date: Wed, 8 Feb 2017 17:48:04 +0100 The script "checkpatch.pl" pointed information out like the following. WARNING: quoted string split across lines Thus adjust the error message constructions in this function. Signed-off-by: Markus Elfring --- drivers/infiniband/hw/cxgb4/device.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/infiniband/hw/cxgb4/device.c b/drivers/infiniband/hw/cxgb4/device.c index 7f30bfd71eb2..2931920d7c4c 100644 --- a/drivers/infiniband/hw/cxgb4/device.c +++ b/drivers/infiniband/hw/cxgb4/device.c @@ -1398,10 +1398,10 @@ static void recover_lost_dbs(struct uld_ctx *ctx, struct qp_list *qp_list) t4_sq_host_wq_pidx(&qp->wq), t4_sq_wq_size(&qp->wq)); if (ret) { - pr_err(MOD "%s: Fatal error - " - "DB overflow recovery failed - " - "error syncing SQ qid %u\n", - pci_name(ctx->lldi.pdev), qp->wq.sq.qid); + pr_err(MOD "%s%sSQ qid %u\n", + pci_name(ctx->lldi.pdev), + ": Fatal error - DB overflow recovery failed - error syncing ", + qp->wq.sq.qid); spin_unlock(&qp->lock); spin_unlock_irq(&qp->rhp->lock); return; @@ -1414,10 +1414,10 @@ static void recover_lost_dbs(struct uld_ctx *ctx, struct qp_list *qp_list) t4_rq_wq_size(&qp->wq)); if (ret) { - pr_err(MOD "%s: Fatal error - " - "DB overflow recovery failed - " - "error syncing RQ qid %u\n", - pci_name(ctx->lldi.pdev), qp->wq.rq.qid); + pr_err(MOD "%s%sRQ qid %u\n", + pci_name(ctx->lldi.pdev), + ": Fatal error - DB overflow recovery failed - error syncing ", + qp->wq.rq.qid); spin_unlock(&qp->lock); spin_unlock_irq(&qp->rhp->lock); return;