{"id":819406,"url":"http://patchwork.ozlabs.org/api/patches/819406/?format=json","web_url":"http://patchwork.ozlabs.org/project/netdev/patch/20170928044132.30940-12-saeedm@mellanox.com/","project":{"id":7,"url":"http://patchwork.ozlabs.org/api/projects/7/?format=json","name":"Linux network development","link_name":"netdev","list_id":"netdev.vger.kernel.org","list_email":"netdev@vger.kernel.org","web_url":null,"scm_url":null,"webscm_url":null,"list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<20170928044132.30940-12-saeedm@mellanox.com>","list_archive_url":null,"date":"2017-09-28T04:41:32","name":"[net,11/11] net/mlx5: Fix wrong indentation in enable SRIOV code","commit_ref":null,"pull_url":null,"state":"accepted","archived":true,"hash":"3735d8a201d0c4324f7acdc01aac4fa8d14f9ba7","submitter":{"id":65299,"url":"http://patchwork.ozlabs.org/api/people/65299/?format=json","name":"Saeed Mahameed","email":"saeedm@mellanox.com"},"delegate":{"id":34,"url":"http://patchwork.ozlabs.org/api/users/34/?format=json","username":"davem","first_name":"David","last_name":"Miller","email":"davem@davemloft.net"},"mbox":"http://patchwork.ozlabs.org/project/netdev/patch/20170928044132.30940-12-saeedm@mellanox.com/mbox/","series":[{"id":5488,"url":"http://patchwork.ozlabs.org/api/series/5488/?format=json","web_url":"http://patchwork.ozlabs.org/project/netdev/list/?series=5488","date":"2017-09-28T04:41:23","name":"Mellanox, mlx5 fixes 2017-09-28","version":1,"mbox":"http://patchwork.ozlabs.org/series/5488/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/819406/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/819406/checks/","tags":{},"related":[],"headers":{"Return-Path":"<netdev-owner@vger.kernel.org>","X-Original-To":"patchwork-incoming@ozlabs.org","Delivered-To":"patchwork-incoming@ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=netdev-owner@vger.kernel.org;\n\treceiver=<UNKNOWN>)","Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3y2hr82MRrz9t3x\n\tfor <patchwork-incoming@ozlabs.org>;\n\tThu, 28 Sep 2017 14:42:32 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751979AbdI1EmV (ORCPT <rfc822;patchwork-incoming@ozlabs.org>);\n\tThu, 28 Sep 2017 00:42:21 -0400","from mail-il-dmz.mellanox.com ([193.47.165.129]:54422 \"EHLO\n\tmellanox.co.il\" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org\n\twith ESMTP id S1751770AbdI1EmG (ORCPT\n\t<rfc822;netdev@vger.kernel.org>); Thu, 28 Sep 2017 00:42:06 -0400","from Internal Mail-Server by MTLPINE1 (envelope-from\n\tsaeedm@mellanox.com)\n\twith ESMTPS (AES256-SHA encrypted); 28 Sep 2017 06:42:02 +0200","from sws.mtl.labs.mlnx (reg-l-vrt-045-015.mtl.labs.mlnx\n\t[10.135.45.15])\n\tby labmailer.mlnx (8.13.8/8.13.8) with ESMTP id v8S4g1jF011096;\n\tThu, 28 Sep 2017 07:42:02 +0300"],"From":"Saeed Mahameed <saeedm@mellanox.com>","To":"\"David S. Miller\" <davem@davemloft.net>","Cc":"netdev@vger.kernel.org, Or Gerlitz <ogerlitz@mellanox.com>,\n\tSaeed Mahameed <saeedm@mellanox.com>","Subject":"[net 11/11] net/mlx5: Fix wrong indentation in enable SRIOV code","Date":"Thu, 28 Sep 2017 07:41:32 +0300","Message-Id":"<20170928044132.30940-12-saeedm@mellanox.com>","X-Mailer":"git-send-email 2.13.0","In-Reply-To":"<20170928044132.30940-1-saeedm@mellanox.com>","References":"<20170928044132.30940-1-saeedm@mellanox.com>","Sender":"netdev-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<netdev.vger.kernel.org>","X-Mailing-List":"netdev@vger.kernel.org"},"content":"From: Or Gerlitz <ogerlitz@mellanox.com>\n\nSmatch is screaming:\n\ndrivers/net/ethernet/mellanox/mlx5/core/sriov.c:112\n\tmlx5_device_enable_sriov() warn: inconsistent indenting\n\nfix that.\n\nFixes: 7ecf6d8ff154 ('IB/mlx5: Restore IB guid/policy for virtual functions')\nSigned-off-by: Or Gerlitz <ogerlitz@mellanox.com>\nSigned-off-by: Saeed Mahameed <saeedm@mellanox.com>\n---\n drivers/net/ethernet/mellanox/mlx5/core/sriov.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)","diff":"diff --git a/drivers/net/ethernet/mellanox/mlx5/core/sriov.c b/drivers/net/ethernet/mellanox/mlx5/core/sriov.c\nindex 6c48e9959b65..2a8b529ce6dd 100644\n--- a/drivers/net/ethernet/mellanox/mlx5/core/sriov.c\n+++ b/drivers/net/ethernet/mellanox/mlx5/core/sriov.c\n@@ -109,7 +109,7 @@ static int mlx5_device_enable_sriov(struct mlx5_core_dev *dev, int num_vfs)\n \t\t\t\tmlx5_core_warn(dev,\n \t\t\t\t\t       \"failed to restore VF %d settings, err %d\\n\",\n \t\t\t\t\t       vf, err);\n-\t\t\tcontinue;\n+\t\t\t\tcontinue;\n \t\t\t}\n \t\t}\n \t\tmlx5_core_dbg(dev, \"successfully enabled VF* %d\\n\", vf);\n","prefixes":["net","11/11"]}