From patchwork Tue Jan 10 19:15:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bart Van Assche X-Patchwork-Id: 9508399 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 76A6560231 for ; Tue, 10 Jan 2017 19:16:38 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6A4E8284EA for ; Tue, 10 Jan 2017 19:16:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5F44F2859E; Tue, 10 Jan 2017 19:16:38 +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.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID 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 DA477284EA for ; Tue, 10 Jan 2017 19:16:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S939964AbdAJTQT (ORCPT ); Tue, 10 Jan 2017 14:16:19 -0500 Received: from mail-co1nam03on0048.outbound.protection.outlook.com ([104.47.40.48]:26048 "EHLO NAM03-CO1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S940330AbdAJTP7 (ORCPT ); Tue, 10 Jan 2017 14:15:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sandiskcorp.onmicrosoft.com; s=selector1-sandisk-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=sIAuLy4p6LmCO1Ddpnre+OGTbBQBR+ho/oEs1U8BEzs=; b=INABKSk7YtS1mYiTG6PFqAI0EZT4WLv5/mmF2XFn7SuaNIWZCM1VpbdPVis67NgWBSB6Qi4MPxiCg+4Vo9J2CywEkqVNNAbi7solXRDXZ9pXL7+gLe4q04uh6+ZieExvlDnf+s6yhp/7zhz6kiXPfESjNQzB/PbON1olIC6ehJA= Received: from CY4PR02CA0033.namprd02.prod.outlook.com (10.175.57.147) by DM2PR02MB1420.namprd02.prod.outlook.com (10.161.143.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.817.10; Tue, 10 Jan 2017 19:15:58 +0000 Received: from BL2FFO11FD045.protection.gbl (2a01:111:f400:7c09::174) by CY4PR02CA0033.outlook.office365.com (2603:10b6:903:117::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.829.7 via Frontend Transport; Tue, 10 Jan 2017 19:15:57 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.21) smtp.mailfrom=sandisk.com; vger.kernel.org; dkim=none (message not signed) header.d=none;vger.kernel.org; dmarc=bestguesspass action=none header.from=sandisk.com; Received-SPF: Pass (protection.outlook.com: domain of sandisk.com designates 63.163.107.21 as permitted sender) receiver=protection.outlook.com; client-ip=63.163.107.21; helo=milsmgep15.sandisk.com; Received: from milsmgep15.sandisk.com (63.163.107.21) by BL2FFO11FD045.mail.protection.outlook.com (10.173.161.207) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.803.8 via Frontend Transport; Tue, 10 Jan 2017 19:15:56 +0000 Received: from MILHUBIP04.sdcorp.global.sandisk.com (Unknown_Domain [10.201.67.162]) (using TLS with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by (Symantec Messaging Gateway) with SMTP id 1F.A9.65426.74035785; Tue, 10 Jan 2017 11:04:39 -0800 (PST) Received: from milsmgip11.sandisk.com (10.177.9.6) by MILHUBIP04.sdcorp.global.sandisk.com (10.177.9.97) with Microsoft SMTP Server id 14.3.319.2; Tue, 10 Jan 2017 11:15:54 -0800 X-AuditID: 0ac94369-7f3ff7000001ff92-35-587530479160 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.9.6]) by (Symantec Messaging Gateway) with SMTP id 0C.48.16817.AE235785; Tue, 10 Jan 2017 11:15:54 -0800 (PST) From: Bart Van Assche To: Doug Ledford CC: , Moni Shoua Subject: [PATCH v2 02/15] IB/rxe: Constify the pool name Date: Tue, 10 Jan 2017 11:15:41 -0800 Message-ID: <20170110191554.17359-3-bart.vanassche@sandisk.com> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170110191554.17359-1-bart.vanassche@sandisk.com> References: <20170110191554.17359-1-bart.vanassche@sandisk.com> X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrJLMWRmVeSWpSXmKPExsXCddJ5ka67QWmEwbT/xhYvz39gtXh2qJfF YsP7NewOzB7Pph9m8ni/7yqbx+dNcgHMUVw2Kak5mWWpRfp2CVwZUw7OZix4wlnR+aWygXE9 RxcjJ4eEgInE+ZNr2LoYuTiEBJYySbxbMpEJwtnGKLFt6j7mLkYOsKqmK24Q8Y2MEn3/pjKB dLMJGEl8ez+TBcQWEVCT2PRqETuIzSzgKHFp2iewGmEBC4mz09axgtgsAqoSZ46vA6vhFbCX mN33gx3iCnmJXW0XwWo4BRwkPiy4zwSyVwioZsoqY4iS5ywS71eyQLQKSpyc+YQFYpWExMEX L5hBbCEBdYmTS+YzTWAUmoWkbBaSsgWMTKsYxXIzc4pz01MLDE31ihPzUjKLs/WS83M3MUIC OHMH490n3ocYBTgYlXh4H7woiRBiTSwrrsw9xCjBwawkwpuqVxohxJuSWFmVWpQfX1Sak1p8 iFGag0VJnNft3pcwIYH0xJLU7NTUgtQimCwTB6dUA2O0ZPabR00H9sW6n1wv1L6EQ1Jqk0Hs b/ZOVotsUb13t/s638TKTGn7n/k35J9R75vrAYtd96S+enkzp85UTzGbsfj+wR8/ZNtmh0tc cP7cfNn6T1ROm+TWjzpbl707VxseLpekOSVQxU9kWbJ0/bX96b4Ss27MKejx006ap7O0vc93 x0rj30osxRmJhlrMRcWJAMwXMYNcAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupjkuLIzCtJLcpLzFFi42Lh2sjJpvvKqDTCoO+IvMXL8x9YLZ4d6mWx 2PB+DbsDs8ez6YeZPN7vu8rm8XmTXABzFJdNSmpOZllqkb5dAlfGlIOzGQuecFZ0fqlsYFzP 0cXIwSEhYCLRdMWti5GLQ0hgPaPEia1bmLsYOTnYBIwkvr2fyQJiiwioSWx6tYgdpJ5ZwFHi 9vkQkLCwgIXE2WnrWEFsFgFViTPH17GD2LwC9hIXZ24EsyUE5CV2tV0Eq+EUcJD4sOA+E8gY IaCaKauMJzByL2BkWMUolpuZU5ybnllgaKhXnJiXklmcrZecn7uJEeLjyB2MTyeaH2Jk4uCU amCUfrmhaa6fytPz908szl/A/JRFKObuHKsANo4Z0xp4Fj3omMQtGTxV59bnH9tP6t/xFM6Z mvFz+pWDd0/VKtkW8h5aeIi100ThZNVapYxFiRal+1VqlppOnmmnvTg9f5v1SW6t01Oli1dV qnuo397RPqdi13XG2sYFsYtYgr2vczIxHL221PmSEktxRqKhFnNRcSIAB8wRKKEBAAA= MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:63.163.107.21; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(39860400002)(39840400002)(39450400003)(39410400002)(39850400002)(2980300002)(438002)(189002)(199003)(81156014)(77096006)(8936002)(50226002)(81166006)(38730400001)(36756003)(1076002)(2950100002)(626004)(54906002)(5660300001)(8676002)(33646002)(2270400002)(6666003)(6916009)(5003940100001)(76176999)(92566002)(2906002)(69596002)(189998001)(4326007)(48376002)(110136003)(356003)(97736004)(68736007)(305945005)(86362001)(47776003)(50986999)(106466001)(50466002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR02MB1420; H:milsmgep15.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BL2FFO11FD045; 1:YSwiykvDLe5pITQNRJobZBgoOarLW+yjM4wFdMEORTSoa2juS+LNwouJA5drYgpexc4btdglgrBpsK6RZC0xf6HEEMOyCmkKV26ZwNCzIACrFzKq7++Z043rNjIb3BOSl5c8Z/BffSI0ROEB727vtOf/y60h9ovtCR87Ol116vbmjob3n1OYYrFFiUQ72ZicRB6Np9oSTUg4HJXtPcs3t1bziP6yNMcIWDcWZbDGJIMdf8uBeDjQmdiTj/DMPEEyh2esy3RpTjd1za8klYE4wSzrHs+zhPNj2ZvGjHpoqKkaE3gDelEs9fTSzkRA3SFakOTuSnmQCkrJeg0n0T6USCZoQT6DDpXcmjfm+3fPJ1ENAWjKP5jV1JsmN+ypKcs84jAlAI2Kn2c97N0wVyfOks/49FXnyrDqRAbw8kPYUYZ8jshxe23bhGdSzHqm+lJr+v6lXH5JCTC3eRrQRF/ID5WiG178NOiOsGl8/GZxbf01qHb+qjYO81lxEEGvHGfcOTeyhXjifRyjZZ7/B86grA== X-MS-Office365-Filtering-Correlation-Id: 4b66c191-38d1-4633-1966-08d4398d1b1a X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:DM2PR02MB1420; X-Microsoft-Exchange-Diagnostics: 1; DM2PR02MB1420; 3:VlHziM5qTnovEHTeScnUaLzmK8mYHBpreq/S5KWyO6db5v6nkmE0WDPI4uhUe4xozoP0M9Ov++OMOjuNR+fIH77Z9dsii1MSYH1tX22T92VAlxGe/bq7lkEo1e+CI3EGSUn6iKva+pA8un3z7sRbdOgsA3BAK2bCmkuSh1dM8W2DRgJ29oMvL33PMbrspq40mTJsVKpo/K6FQN6d1QL6v+oGf8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PlQej1fVkfLhgYUBRdcQV/RrXStdTfpsn++/M082hbVFo2BruM9qFv/oV/ODFPik1Trz93RD2bUGzF9AtC02mT+NXumQwHCixGdvDZt/v9CTMOBUXQRNYzygXJndku7AWxtxPnx472XNsvcNDv6VUMLNLfHzUwNdWEvQVLT75aJOR3bUGZbrG8M7UGTxdBzZu8m0TJXszzVpfCVhXiQCtlGc/Fd37YWAALC6wd7Y4yYtcvGfgT03BN9emdCiVZsmI8mg0V22L4CvZQclR/4RkGvUltILVe7D+9XkI+QWWNXja6MO86Jvkh6sfJkteKtWY3vyZcrB1F01rlhS3ltTNGcqkdNjqCBGp1VWlM1mjJnJ5B0llj4X+HcP+MPxZZwj/Li45JyVDqeY6O14Q280d0Hl4d2xj7TILJ3SPwhVxilEW3hjoM5YstN8N X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(56004941905204)(42932892334569); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040375)(601004)(2401047)(13018025)(13016025)(5005006)(8121501046)(3002001)(10201501046)(6055026)(6041248)(20161123560025)(20161123558021)(20161123555025)(20161123562025)(20161123564025)(6072148); SRVR:DM2PR02MB1420; BCL:0; PCL:0; RULEID:; SRVR:DM2PR02MB1420; X-Microsoft-Exchange-Diagnostics: 1; DM2PR02MB1420; 4:FzpBq96xs//1i8aLdnXtza44TXY3n2tzHz+qcrGFgx6ZS4VULH6AZElUA8MLVcGICe69M8QTQcA/hC6Jozj1Bi16ifXtUkqdM6Cw38XGt+sfG4/5q8BssJcVpeCb8T6tUO/UQ3s0118gal49NHqOVMTWfThj5QMZPe6IV+mF7KC4aITNEtogPtqHW2n9pl2WJ3qOaipc3jS35+U9NzqZnaCxDZr4+Lp509hmAy9Z9g3Y/T7txKKXrcWmkUHmu55XX55yWzlJrJHrBlG3ROzrsa0TMWnfILRV3RIIdqCRHkBPgDj+PuPtgB/4GM0Ujh5NC3e7mZcHMBD0ZuHwI/9c7zWoPLmtztjGntXLm9hAGHDPzF3EcMyhAqrlbo/HJgQDF5mWB1+0ej9gkn7e0Z7y0ejTPscTU3CRCFRyplvwb5vCHnLSIEGtZYbFfZQog2EIuMeiXIU0vHh/+ONtuhQ0CFkVv0ga3YU6++X2nAGg7fvgoFu6X57KRXvbow1th6dAGfQ41yngRb7adeUyrmT0CTUZHn949Js31z25a/1KRJUxx3d632QrCDV3tp8j1FsdE7mIVVqrnB1BCBgFLZn6KFczGWusRGZHGraGvJ7nihhDYrXN1d+KLUY5lapRMYcoGnYBvrtv/M7eFlsiCpSFFP5tZHmexpcFNpC2qGwbO64wpUPmY7PRDiCdDbwieKlUetaOBXD9dEdb3nPdEMbVoEUSHsgvJKaBKYnXpmhh+CCDQjwTJwKK0/22UGloJvQE X-Forefront-PRVS: 01834E39B7 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM2PR02MB1420; 23:vuIlzQGtPRsh7rhhfplTxsD3qwRXqc7rjzNPJrIi+?= =?us-ascii?Q?woWznultv3fs8oGTM099HqriXkuHI0tDJcN7COHHHE92RpA8ef4idFcZLi3o?= =?us-ascii?Q?PDuclDGfvCmz5MHi62nT6nNNuGb4ljkOE6joeBuDZhIzqPhS+HZRto6l0Xbu?= =?us-ascii?Q?O1U9TNUDlQAO9WhQgIcJoXXvlEB288xFS3xVXGyT1Wr+1Pger7sy7D34rTT2?= =?us-ascii?Q?j+rs08TdlC1P68HdkDtMxvg5Ino175YLtYeLx1FbIQo5NvTeQEPwfcMtZRFb?= =?us-ascii?Q?B5rttd9pDzNNUIHV5GM2UC0smWAMxE6KwIp0oRvC6ZB0vbAadURw9XhFqWcI?= =?us-ascii?Q?780lW5lxPeWXhlMjYTDPkxAwN3I6x18MAVuIflOp5eRanARVokeTeyr5xDNl?= =?us-ascii?Q?KdVs3pK1xfsViAcOoJeu8JwOgfwZz2oFcfbBlCNnq2SvmQ85WAckzP2mzIbJ?= =?us-ascii?Q?zUNZwNb/Wl29H6Q7Z2FFxZsYRAsGVKR2syfmp0OhI8SthlSBaJGass9prlBR?= =?us-ascii?Q?YYuyKZaBhDY3YI5bWiTORHuVVJGAWB7D+I72WHRz1utQQYIbKs0ZoiU3ugsR?= =?us-ascii?Q?ghnVvtcj81YXADjR18O/c78Bfq6ftRwxWfmRXtAmpxaUfpxdw9d7Ba9pXo6X?= =?us-ascii?Q?2uxJQyRGV5NTO4y7IJ4Z4kfea/KLKFMg5EKrYL8466GAvjWrr8Z32bbWj8Cx?= =?us-ascii?Q?UHqA6B1iAgisjSlr/qRn55EqLAVSPZ8VndBkJHfug6EsCYLifTeswl7N4C3C?= =?us-ascii?Q?+Z/KZ22uKns+hooyop7oHShlKpQysxH2oSEyIqTN5OOPyYOGPX9o6KCKfzEE?= =?us-ascii?Q?mKa1tPBlNuJC7q6gmtoNYWTQbfGKkoRyOofm26/xIErcj4Ok9lSeCK1Dznbb?= =?us-ascii?Q?i4in42x/EpOOjxF43UFELyP5cKPFhct3TZXo6oK4ckY5ea7rZ53qAac+TwqU?= =?us-ascii?Q?O9S6lp/2lm6HXzkcs52CetVQF1qRsvT+DAdVMwk+56+CSGAlA809UfEKA6Ko?= =?us-ascii?Q?6vByCLGOnEX2uc3319kKgu6+++0OOs1bTTslHACs1Roe2cRfXNfXSptJNpEu?= =?us-ascii?Q?QCIPRYwS6e7Q483lw04GrDeOHJwqhLmoPnKS0FMFfHBuCl1Xf3bE1dwSiCm4?= =?us-ascii?Q?sEef/NHcX+OA+cVE01YT6Ob+N5Avs2v?= X-Microsoft-Exchange-Diagnostics: 1; DM2PR02MB1420; 6:qHMzwGxjpUlxOmH+R4wWilC8xK/39P9pjF46affbrnXKScr4gCmMSNXV2CZPfZkCDhG6m5RNzQcvfMx2efnQLSRM26H+I1fLeQQxPn2BW8tj97Zf5HejRQnSGeq+EP/mANj1SK7RM94G/Pigz7gaJVfbK3F9BsVlX5+XN7bKlLwIsAXZd6juN50V/s1Mmos3RCMmnvmDdWTH1vRGHyduwOz5kyPEnbffiDPGwXhzyXjHf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g: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jan 2017 19:15:56.9737 (UTC) X-MS-Exchange-CrossTenant-Id: fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=fcd9ea9c-ae8c-460c-ab3c-3db42d7ac64d; Ip=[63.163.107.21]; Helo=[milsmgep15.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR02MB1420 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 Signed-off-by: Bart Van Assche Reviewed-by: Leon Romanovsky Reviewed-by: Andrew Boyer Cc: Moni Shoua --- drivers/infiniband/sw/rxe/rxe_pool.c | 2 +- drivers/infiniband/sw/rxe/rxe_pool.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/infiniband/sw/rxe/rxe_pool.c b/drivers/infiniband/sw/rxe/rxe_pool.c index d723947a8542..238a6be00d46 100644 --- a/drivers/infiniband/sw/rxe/rxe_pool.c +++ b/drivers/infiniband/sw/rxe/rxe_pool.c @@ -102,7 +102,7 @@ struct rxe_type_info rxe_type_info[RXE_NUM_TYPES] = { }, }; -static inline char *pool_name(struct rxe_pool *pool) +static inline const char *pool_name(struct rxe_pool *pool) { return rxe_type_info[pool->type].name; } diff --git a/drivers/infiniband/sw/rxe/rxe_pool.h b/drivers/infiniband/sw/rxe/rxe_pool.h index 4d04830adcae..7846ccc58b25 100644 --- a/drivers/infiniband/sw/rxe/rxe_pool.h +++ b/drivers/infiniband/sw/rxe/rxe_pool.h @@ -58,7 +58,7 @@ enum rxe_elem_type { }; struct rxe_type_info { - char *name; + const char *name; size_t size; void (*cleanup)(void *obj); enum rxe_pool_flags flags;