Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752254AbdI0Oqz (ORCPT ); Wed, 27 Sep 2017 10:46:55 -0400 Received: from mail-ve1eur01on0061.outbound.protection.outlook.com ([104.47.1.61]:37965 "EHLO EUR01-VE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751830AbdI0Oqx (ORCPT ); Wed, 27 Sep 2017 10:46:53 -0400 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=leonro@mellanox.com; Date: Wed, 27 Sep 2017 17:46:44 +0300 From: Leon Romanovsky To: Doug Ledford Cc: Joe Perches , Arvind Yadav , matanb@mellanox.com, sean.hefty@intel.com, hal.rosenstock@gmail.com, linux-rdma@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] IB/mlx5:: pr_err() and mlx5_ib_dbg() strings should end with newlines Message-ID: <20170927144644.GE2297@mtr-leonro.local> References: <7a5a195cd37db476a2ca007eddc0f28f3ade265b.1506407876.git.arvind.yadav.cs@gmail.com> <20170926083843.GB6816@mtr-leonro.local> <1506438337.29089.8.camel@perches.com> <20170926155006.GD6816@mtr-leonro.local> <1506453105.29089.14.camel@perches.com> <1506522039.82712.26.camel@redhat.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="EXKGNeO8l0xGFBjy" Content-Disposition: inline In-Reply-To: <1506522039.82712.26.camel@redhat.com> User-Agent: Mutt/1.9.1 (2017-09-22) X-Originating-IP: [213.57.247.46] X-ClientProxiedBy: AM5PR0602CA0010.eurprd06.prod.outlook.com (2603:10a6:203:a3::20) To AM4PR0501MB1922.eurprd05.prod.outlook.com (2603:10a6:200:15::18) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 75c33dc6-df88-4972-8b22-08d505b695d3 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(22001)(2017030254152)(48565401081)(2017052603199)(201703131423075)(201703031133081)(201702281549075);SRVR:AM4PR0501MB1922; X-Microsoft-Exchange-Diagnostics: 1;AM4PR0501MB1922;3:OF9POTjCWkUQxlw0Yxe5Ml9S0WeFZo85kIZ+3lzQudP2OLAV91Ean4YsAUA2ct0kisyYQMJ4zAipTFb+WFzISi/pjt1Kc1c205jZdxcOEWYQAEk2hrDgB94GXdH86BrhM18rCnYF+E+g4hgpcNNrpZdTIwROu/DaWs5bLT3zmkswPl1jvyRii7k5l/N71MioWHls7FWC4swGYIof5/Z/mcOY9jtMl0eyLJcmrr+tVugwi1su7iGPTrNvcvkYAZog;25:9MyiEcEVSt/C1aAz1rRs2LJTHyy/ujeqV17ih4bFL28PBhndYUtLmne0BlBiOPuvOI2ft41uocwwpkom5vswgfE9bNreAJt+GIXdxnJvi0cFUjkRtZTlf7wlAwBSTsSAQvTSZutXhv1vkLRhH0aScLr7/YmOC4Zx3cZQebI0OF0H1Evz2eyzSaLfsBpfiHi2qJhmx0n8ga4R14SxepFk6nHL4Fhqgl3E8XKY++vBoxRrljK6pYiIUukqAVwe8YnbmuQ2waxDjqTt5Qzyv57Dsx9ywIY00QbJeFijHx2aMwwgzOy69SemOaisYR1qfiUE33NAkoheQkk3XzS86CQcsg==;31:mnuY8h9N992nR3hnGZ5KxOlCrnCPZGsIIoanr62DQbHHppys/IZhSQUHczSC9/zVX8S+1AddbjmR+3GyAK9vbf6FuzJZ9PMBrlDFFa4AYZwUV+T6B1JZVG8xusYTcotnLoTwOxJMC7iEQb9zpc1nCasOBd6E3ACAX/MkF14oQZt4iDDVZX4bWEqL/StxFeXEg6vQJzpQstHExi2/wei8KNyIHWroFajEOdWb+dZWhks= X-MS-TrafficTypeDiagnostic: AM4PR0501MB1922: X-Microsoft-Exchange-Diagnostics: 1;AM4PR0501MB1922;20:2rMHH1uUET6bE3Eho1xJFOIWJde9tFqhMmQesRb1h9T1PA0DPnQJIoL8ZNJHE6UUgO6IleDzJx2mxgQh9kIy2mOz8n/ClqS7gHFZ7D3aGgV6MyObgaOaFm+THT3W4oQEYE451+FbUEDFxiZnCwU2NZm0BDiP7Xf/exINM+wc+h7FhgH5pwrpCZ4dBGQo4QMtZKQRIOilPCgEYyVYqDycgVHeRY5ptQI2BCKQbqtxbIp4B7Oydwta3GZmqAHmyLuPDdG8s/7tqrOR6kAcdhnt7/qwMNIneb1ckFal1zyL5C4aVBJxZo8X1kdDHkvczzhoA/mr3P7jum20LvEs0h+a2lmQ0uRUwVBwusARtGnPxyRj2p/mDCDvpsVZwJ55G5ZkdZRaff0LbHGgRlzCHyTyce16H4A/OLjX6jiodtCliZ3mzhDt6rQdQBCVcPFZxxuh+Qj2fhE35k26/BEnkyGJ7kYaFZWjnKhM58HiuIPCgassr6nKxiZSLk6Yp5VtjGRw;4:v4HDpuz2v0ZaiUId3i/bNvLkKzbmEe9fgGAJkYqqoGputAEL9ClwFSsBRwh0phW1ie6bmseyNiAMax4ktXhn5kEDdnUxWR74EBt5hSY+6JheaD4dsmU5DKQZmFQHipkunu8o9HfXm0BwYH6Nc1icsIQb5iBHOjk5DYx1opTvm3iLe3jVRreuzLPPxwFhxRqqVsyuIbWyAWgAmeGfv8bKPO0S14B/Vfv/RV7VsfIFMcljmj/VH+OFM2dns00Zh//q X-Exchange-Antispam-Report-Test: UriScan:; X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(10201501046)(3002001)(93006095)(93001095)(100000703101)(100105400095)(6055026)(6041248)(20161123560025)(20161123564025)(20161123562025)(20161123558100)(20161123555025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:AM4PR0501MB1922;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:AM4PR0501MB1922; X-Forefront-PRVS: 04433051BF X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(6009001)(6069001)(346002)(376002)(189002)(199003)(377424004)(24454002)(16526017)(86362001)(6246003)(5660300001)(6496005)(189998001)(76506005)(5000100001)(6666003)(6916009)(229853002)(16586007)(58126008)(84326002)(54906003)(101416001)(2950100002)(66066001)(76176999)(50986999)(68736007)(9686003)(105586002)(53936002)(98436002)(478600001)(316002)(93886005)(54356999)(97736004)(1076002)(4326008)(106356001)(83506001)(33656002)(2906002)(25786009)(81156014)(8936002)(7736002)(6116002)(3846002)(305945005)(81166006)(39060400002)(8676002)(6486002)(21480400003)(18370500001)(2700100001);DIR:OUT;SFP:1101;SCL:1;SRVR:AM4PR0501MB1922;H:localhost;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;AM4PR0501MB1922;23:Tldhp6HkNye798RMndBNMQHRVxKm0lSOD7Y4xbl?= =?us-ascii?Q?bQ7yeEheWyL1suB8M0nngmjWVWibWUhBMQQio1SbFvqNRNt7cUFQO/sqE/9z?= =?us-ascii?Q?hlN+qGXuSq3IirS8zfHW7KdXyG1au2BKRDNNHWi1/FLti3EkuoQHLEGGfLWx?= =?us-ascii?Q?GwiKkNDC4Zqk/Ir4niDeRpH4sjgCa8E11iw3Mbb2FN6myGWSH6A+3XbfWEZp?= =?us-ascii?Q?eGxToA8tNaiA/g1DzRsb42qFemxZIGYfMr092pjkDQGrg1FqHAXoWtDJvDe5?= =?us-ascii?Q?ydyY07KfRv7qSrSB+lW4MBqPaTfJS8XRuu+P13WSPeDMwY0fWSMDySYcCYgY?= =?us-ascii?Q?Ia850ziDGHUpLY0aZzydISe4O32+fxryt51TR2Ub5Z8GIQJVKeprrzFZeJeu?= =?us-ascii?Q?fmhIXY7sN2Iw8zKBFEadj/vboEZOEbm052TUHxIbavTsbWoOj09N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jgC9EaGTRWZ2QHCuUh0zY3Guc?= =?us-ascii?Q?NPsJAvA=3D=3D?= X-Microsoft-Exchange-Diagnostics: 1;AM4PR0501MB1922;6:W7G8fpaJKixVlfCQhRR9HKPHiIT1KFtGCBuupAGsbx+p30Gx13hk6lysvoLDVi6piTiZ9Ot7rDzQFOu74r2wJqCRDOwqokRZ0XmzntUky6ZBjiD0m0QPvf3DqdfXpPt/ntbYDxVVWa3UC+Dkf3UO++ONmYykmGAuDslxJbhKke90LTWsvyTbYyZAnKbHfpKAxfn+bwOLWHWMsW4uZqtkjj/ch5ivNTZxWtjaKpkpk5r44RLEdrDXcZ7czncZZUN0sRw99YNHp4HA/q648NJlRN+N1e/sICsOdt3J9jA1DYQdG2va+arz/Y5UJwaQV158im11xjaF+x9lyH7IoHbuFA==;5:U3EJS2GhM5wGQSt9H4YaljFPMEYU+p9yccWfqwiMnBFP0K3axe+bkiw9qpa63AQ7F3fl9dOjEkL831xznOQw+3RvyvSYb3PSN6cLcAznllT1UVq5qKL0r9YjSPVEbBgEK/N9XUGTebpPeFK+cDMPrA==;24:6cjxAqoj4A1nrr5KMf/xycJq8Q6CVlv022oFErLIARZVN+KLj4PhPQ050FiltRvMnf6bg3Qo7rWBfdRXfdIFGmNeEJXIMD1T4p7aI2f5ye0=;7:kjQwY6j/ME84+X970+kTk7fkr7jkw+philwtmiwRkGAS53SmsPAxHYSwH6anddFwSomD8GxgvKMEDogWgqBCo2NodEGh/1TeNTUG/CNZOVA38rw/FkqySr1oGP1nILTivzkFhYPjkJ1iepN4F1Mr/65ge3fgpfBxlRqqAacYYETUH/jpZb8YZBabcwKNR7zYaNbj9A01EL/ChesZ1f5b+l2p3IsLiv690QMafvZ5GuA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 Sep 2017 14:46:49.5992 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0501MB1922 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1792 Lines: 50 --EXKGNeO8l0xGFBjy Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Sep 27, 2017 at 10:20:39AM -0400, Doug Ledford wrote: > On Tue, 2017-09-26 at 12:11 -0700, Joe Perches wrote: > > On Tue, 2017-09-26 at 18:50 +0300, Leon Romanovsky wrote: > > > So how can I reproduce the different output before and after this > > > change? > > > > Try lib/test_module.c with and without the newline > > on "Hello, World" on a quiescent system. > > I agree here. The newlines are still worthwhile as they remove any > unnecessary stalls in the printk output while the printk engine decides > whether or not you are going to do a KERN_CONT print next. > > Thanks, applied. Thanks > > -- > Doug Ledford > GPG KeyID: B826A3330E572FDD > Key fingerprint = AE6B 1BDA 122B 23B4 265B 1274 B826 A333 0E57 2FDD > --EXKGNeO8l0xGFBjy Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEkhr/r4Op1/04yqaB5GN7iDZyWKcFAlnLudQACgkQ5GN7iDZy WKduPhAAkb5pJ/gthVz2sR15LpgC5FuSnXhCSmVFiabcWlvGsVfS2XOh84bqvhhK 6QDQrmNUeM2FbqALmu2bBfMylbW1zs2DHV34tYv1nWlWkH9LSopEWUcpUzc0UNgl pyokxlPlciNXFmFxnqtx91maTIgwpRBl9a59H76Qy9hKs60Ui5CdIqdMjjhI8WHe gmziPXgYWoJc2JpOJgwg1hHYzDMF3PzAVmIThpZXN1/79brMSFZwUDHDCTGesG+s pjEwXYXyAlN8/KcnvbU/HUzC8uWqXD//krjHO9XOJTfbMVV9q8VJSxaD+h6ZogQ+ I7hAan6RvWIgTslqFEnDMkWMwdpY0VCguwNufIGsH+ySLlaizk0MYqlMV4JXcEdz Ws3phEOJJ5LmhX7bTasCr89pvWx3aw8BoxiPq1eS16ynzWt3wTXFXkbtfgwDckIE fMDnS8k0xiNFMOP5aGECUSLIhU4F7+8AMdMdTTZ9RhwJw0mwl4nq/mCWHw0h8m/H ZT+48TmsOKca9ds5791rSpGZXkb4d/KEu6L6npMo4LFb2bPTgsDMqf5M9Yu8igHv XRE7qZwnYO+yMTF37LlY6T9VYTxuEJPXELP9w52hp7XkgMSiWY7zDEIn+XbbrUDF 8o583omGxhq+PcMJCpZUU35NJHXAKH1FECCMjjlYORKm5n9ZvwU= =dJNh -----END PGP SIGNATURE----- --EXKGNeO8l0xGFBjy--