Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751644AbdHPKDo (ORCPT ); Wed, 16 Aug 2017 06:03:44 -0400 Received: from mail-he1eur01on0073.outbound.protection.outlook.com ([104.47.0.73]:2945 "EHLO EUR01-HE1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751212AbdHPKDm (ORCPT ); Wed, 16 Aug 2017 06:03:42 -0400 Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=leonro@mellanox.com; Date: Wed, 16 Aug 2017 13:03:34 +0300 From: Leon Romanovsky To: Colin King Cc: Matan Barak , Doug Ledford , Sean Hefty , Hal Rosenstock , linux-rdma@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] IB/mlx5: make function mlx5_ib_get_vector_affinity Message-ID: <20170816100334.GL24282@mtr-leonro.local> References: <20170816092940.11158-1-colin.king@canonical.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="yV94raM4eJLN8srE" Content-Disposition: inline In-Reply-To: <20170816092940.11158-1-colin.king@canonical.com> User-Agent: Mutt/1.8.3 (2017-05-23) X-Originating-IP: [193.47.165.251] X-ClientProxiedBy: HE1PR05CA0135.eurprd05.prod.outlook.com (2603:10a6:7:28::22) To DB5PR0501MB1928.eurprd05.prod.outlook.com (2a01:111:e400:c584::21) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 9280e4fe-6808-46c1-e3e2-08d4e48e10df X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(48565401081)(300000503095)(300135400095)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095);SRVR:DB5PR0501MB1928; X-Microsoft-Exchange-Diagnost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XeB4YF3Cr3Je6vOjBKtmRNFcveMk/TgiSFqaAG//jAUCsrGE/pXzB7WpqiO9/d0LHG+B+Uigv7NoKVNO3RFukGQdolt3y6j6DKB4UJ4a2qz4DiQZqbdmfYIX3sFmz8vtWhdBGxQbxHUDihVZwE0xbRO1qd3pBvFxKV7J+k/hDHfN9oo+20cxoKvi+JL9YzpeT9eXsB9ObaV8J1teVIvkJSdcBMg5k9VuGljkuKQsTq9L438BgD74LpywZrUpd3cBDzlmJoM1WcU7+4DpS3dXdc/PCTrnmrH+N/x/NNmDK5Xfhh5StK2al7yLaScnjxiV2NKax9I7/nE3i0Ls9Jo4QDi2jTgtRZ27auU9WZnofWuGQ2Kx6zB9aL;4:X0j8EsILGM4nuzjqTwjKE8RVJ7xO70gMiscA9vr07r2ay5wFBlL0C1DY2TQWxtKHxBYUShW64anWS+ULX8rbN7R4xmfqEq2o9JeIWvY2MdEBAf028UyJ4XpVHCoMolPeQl438ob/5ruOKfJaMVJXX5jTz+1YaQ7/J4rHv2Hcp5c3VOjBucJxuMOeeY6o0xcu5yXEIUx+kEOq5QqjNHgC+xBCTl2Az4xd3g/RpVc3EqFnKwMOPk6MECJXqk9kIAmqm4xhLuQ5OUf3a+Ri/lkjQeROvn+NzIyHQaT5lNVMu2s= X-Exchange-Antispam-Report-Test: UriScan:(198206253151910); X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(3002001)(6055026)(6041248)(20161123560025)(20161123558100)(20161123555025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123562025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095);SRVR:DB5PR0501MB1928;BCL:0;PCL:0;RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095);SRVR:DB5PR0501MB1928; X-Forefront-PRVS: 0401647B7F X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(7370300001)(4630300001)(6009001)(6069001)(39860400002)(189002)(199003)(24454002)(54356999)(76176999)(50986999)(6306002)(7736002)(9686003)(305945005)(229853002)(2906002)(6666003)(76506005)(6486002)(2950100002)(6916009)(4326008)(106356001)(105586002)(54906002)(101416001)(1076002)(42186005)(66066001)(189998001)(3846002)(6116002)(81166006)(81156014)(8676002)(84326002)(5660300001)(478600001)(98436002)(33656002)(6246003)(966005)(83506001)(7350300001)(110136004)(6496005)(4001350100001)(97736004)(68736007)(5000100001)(21480400003)(53936002)(86362001)(25786009)(18370500001)(15760500002)(2700100001);DIR:OUT;SFP:1101;SCL:1;SRVR:DB5PR0501MB1928;H:localhost;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;DB5PR0501MB1928;23:wy8K/4gRybQxLLlYK+X/4G/bb6nRFHrreY8Lb3d?= =?us-ascii?Q?v1FQgRuE4w0p/owYWV0/o0ZWLnTP7nAWUrN6nkey6wfCMNsRdqCgoEOLxHcD?= =?us-ascii?Q?theEM7aAO4HRVYAQI3eNfW/EAneXHCSSyS+CoVIYIqU4muDx/lrOahjAkXKs?= =?us-ascii?Q?CM6WQ9LReocvSDL1iEVP9hEds7A62hpV5bvPuMWx9wQBj8s4HGM9sDid81s8?= =?us-ascii?Q?mfq13WP8MYp0LQDunRyLz1YVwOupl2kGBUcCQwaOPomR5DdyYpfwStby2KPP?= =?us-ascii?Q?TRBFBIUcUHPOl7ReA6DGb7i9nJ8a1OLIIQpgnyGGRsNZcB5h48Mx7vHz0GlM?= =?us-ascii?Q?7ODOYV4QFwG5siK6iAhijG5IOwkaNpNzyNZGhLHiG+LQO3l58d5lfA86SXT7?= =?us-ascii?Q?Wef/6kcqSjToNI6mcEeWTcYT0InaxHe2GmgUnjx9KRgGN5sTDYwENFZ4NIYy?= =?us-ascii?Q?JehbNbQMGtJpUUhXIzpgeIrlEw41oi8CqmraywTVsxMOxBs+IfcvoMaAy+01?= =?us-ascii?Q?dxqxUrulySw8PAcKWnU69tF2+wGUphzTnHNORhr5wWXgBJiKBAF7jjdlwI/n?= =?us-ascii?Q?ZiO7KzNSatK914CVnVRms1hGGJcDHCWYroVKji9W7Aizx8BZYoa3g/9pNmQO?= =?us-ascii?Q?ZGiMcZeYNZMukV9uq+FZXOTUc1HC05CSV8KlEr8kCc2RENpjENx68kJEUBml?= =?us-ascii?Q?85mJYgPOU0FnsVfeVlpf21zjj2yfSVxyu+rjmij8kH762G8Q/AmSV7L67wq6?= =?us-ascii?Q?ZVOw1Gt6DaUWyCB+bGo92m75UffBsSftPpk1EWk3CEJ0tN5xfBRsJ/Wn4sMK?= =?us-ascii?Q?NqSbykGn117m7jJxfMRvY57+a1WEJEaDtmcMzBgjZp5AGS80TJcT7HcnH/WF?= =?us-ascii?Q?gcdV4Nv00sZGKgn7Rp0LRHjmi5KdSinkn94/7kd0wGe/81eB0Pyox/caXiEv?= =?us-ascii?Q?c/sNY3SZc5SE41fp91KgjmD348tl2HJajw6JDoT2U3yHjmS2GCP1fIE5U9vf?= =?us-ascii?Q?fSZ2iusWxxUKISkQzQYk5YQdQPD+iPrq3NacH3EVJBbAMHjoiBrx2C18m5gN?= =?us-ascii?Q?pdadhi97/Crdx7Y2G6Jc+ty70hNeBVM0r7rWQMpnlrOibVn7HCij7ghCBb/7?= =?us-ascii?Q?yPZu0UJ0qaeTomagHx9U6ZczAVYBHF82UB3AFO7nZdMy7nyg3PD/dclbfzGS?= =?us-ascii?Q?mrry7EYSIY1Rv/neEV5CiE+dpcqS8BsewtRnGyNd9VFt7273THqHMdYZxCev?= =?us-ascii?Q?KAl7uJplzOQJt87OSVBR12a5JT81uRXtZMA/hbVO98BbImOGk6ql4aLVu97w?= =?us-ascii?Q?dcu/shMBeuBpqSb5Ecbuvyhxf2ZKrKhsNXB/v24k/gD78I7L+N3fCCjJEiQN?= =?us-ascii?Q?D35I8zGIwmkiUBa0KNlbNgrFVypNYskX4OFwjchthY4yXH0jD?= X-Microsoft-Exchange-Diagnostics: 1;DB5PR0501MB1928;6:toLqZctTdez4zXTFV71v9QzRMhaz+4pH2akdVAeT7PD7MiDxCSqWlF32QqjkRkHmE8FO2d1GTWATvHCeLus3z3m0luSFWKNRX0GQ8ocgLx7kTqsSAgoZtAXm1tAb6OkwEhFOB8XDog7KNr6zrBQ5giGgyN83olXLXgdV5YyWsAdJnjPDKOEPCCE2AoRZSic+n0sNzgkApYoKVa4W0AopMTjC5OGxsLAfROExLNdmjWwFX8By4cIgW9A19SFbCXZxKulOaZcRqGl6DEpNzT4G3ycSVNLwWQZEE6e+QflGayXpjOzS+6kGXa+B2kE3l6zvSX31uYQ+8iswXKeuS6q9rg==;5:4WIIGdFFBVOG2nlOSKZ3uRUDVgt5XhcRc5Ko1DnUBzAi7mjLcCSxfIEBj++KfYyo/nZQ17XNCHa2eCwvMEtObEkUzK2b8IWa50Uy70JThmGeMYC2TQSM6/QnQnnLdllywSnGhEMf1MrbAyT9fy3VOQ==;24:vWnaOSlZsJ4M4283XFelOjmu4dxiWpuSLhtIdY19eOED2jEnHVnUb8e4gGAJu9O5CQqSSQK6KInILgxdD2WsLvvX+47cZTdPgZOcAcXyFpE=;7:BkX6rduxygXjbOc6U8wetdkgB/97dWqxZ8DDVUDJppYpjiNRtwBoCRl8TiN4j7wmY5PE1yN6Dn+phquNdWDkox1E5pC80bAsNEsc+eVjqgvuJ/zuP0S+rdo49JnIrk9h5Vmekko55s7uXQP27+y1BaCOl3pMlh3+XGGUwnphh0PjyQn/pa1pX4/PE0FSqlD38QRRfxcqhHZXZlADaIOQN6uOAXVtV0d/7pochiu/O9g= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Aug 2017 10:03:38.1616 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR0501MB1928 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1649 Lines: 47 --yV94raM4eJLN8srE Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Aug 16, 2017 at 10:29:40AM +0100, Colin King wrote: > From: Colin Ian King > > The function mlx5_ib_get_vector_affinity is local to the source > and does not need to be in global scope, so make it static. > > Cleans up sparse warning: > symbol 'mlx5_ib_get_vector_affinity' was not declared. Should it be static? > > Signed-off-by: Colin Ian King > --- > drivers/infiniband/hw/mlx5/main.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) Hi Colin, It was already posted to the mailing list: https://patchwork.kernel.org/patch/9901353/ Thanks --yV94raM4eJLN8srE Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEkhr/r4Op1/04yqaB5GN7iDZyWKcFAlmUGHUACgkQ5GN7iDZy WKfK+hAAnPZ0sxCEW4qOZdNbAUcCaoGf9uAP8pI33FqDY6EnqbXnC0UID9WryHe6 H8vxBEwZNlDb8Gtvb4lVownthY61vpVu9o4xV7OJf/3Ey5MyD5x12S6x12BWkxRc KvM3ZwKrbxqjBVTGdP9MJgC+0bjFd2HJE2e0h+kxUpeO+GqdYztm5Da92OIJY+KU EMNMNF9PUV5eLPzKO9yTc9wutMwMI2crlKPKQPiXlO/jgPXZE4qOdpJdAK6Qn0Hm o2vJhleFOZ/q943AgFdP9JVzzUQnQ/MVBK5QLrSjiQojG4DUUuYKXLD74Vn/jv2w UnbZ91yHlhh3e3lG4jdAfsh2lqxPGIYA6euoQP3filrwLbXA5CFuaZp8NsTYr4fh swb7d79d0deEmP9/mczEqLcjOriR8o7zWo9Kumdv22jjis87r5joKTPFqTY1mijr DeyAyCANJhphhjR/Xevb2KkhA3plIvuvojNDmfqPntp3jrojHCy73pYo+im1blyO 01GhAvJrwAvZUPz2JPzdvP9RGhQzPEUCltcKAaVKi53eEiVPnMrKHQK7Y9YioWM+ L03cvMffyJZfplqVyVEFTXwV79LQtKHrcmf2l3oCtRpj755kLCz6pnSoNo0CYXRS KrjQeHdMZ5pbORnU7v1iOKggPEHLZ5us7/h2w9YYrT6Y/zzA7LA= =xU+e -----END PGP SIGNATURE----- --yV94raM4eJLN8srE--