Message ID | 20170110191554.17359-2-bart.vanassche@sandisk.com (mailing list archive) |
---|---|
State | Accepted |
Headers | show
Return-Path: <linux-rdma-owner@kernel.org> 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 F2B2960231 for <patchwork-linux-rdma@patchwork.kernel.org>; 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 E5CC32859F for <patchwork-linux-rdma@patchwork.kernel.org>; Tue, 10 Jan 2017 19:16:38 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DA5B0285A8; 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 6A9462859F for <patchwork-linux-rdma@patchwork.kernel.org>; Tue, 10 Jan 2017 19:16:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S940097AbdAJTQZ (ORCPT <rfc822;patchwork-linux-rdma@patchwork.kernel.org>); Tue, 10 Jan 2017 14:16:25 -0500 Received: from mail-cys01nam02on0081.outbound.protection.outlook.com ([104.47.37.81]:40064 "EHLO NAM02-CY1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S940004AbdAJTP6 (ORCPT <rfc822;linux-rdma@vger.kernel.org>); Tue, 10 Jan 2017 14:15:58 -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=cpMEOQ340DMLifjefLsEu2Z+BA+I6BSDOpZQFeXoypE=; b=DTWIele5CAUh4WrT8ce/WG4STtDjWb1GVsqUxZBnRR1nWj8TxBj+tE1z5fobmzLHLc4Pgblk04faCjwjRvK1HJqG9f3+WI2zDiFEtJH53uwznqSaa6nCTC4BdJmvEU0jB40x2btHNv1AjMzvIVfaxLTmHgpzaiVp2KzM97Wp6IU= Received: from BLUPR02CA026.namprd02.prod.outlook.com (10.160.23.144) by CY1PR02MB1415.namprd02.prod.outlook.com (10.161.171.151) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.829.7; Tue, 10 Jan 2017 19:15:57 +0000 Received: from BN1AFFO11FD047.protection.gbl (2a01:111:f400:7c10::106) by BLUPR02CA026.outlook.office365.com (2a01:111:e400:8ad::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.817.10 via Frontend Transport; Tue, 10 Jan 2017 19:15:56 +0000 Authentication-Results: spf=pass (sender IP is 63.163.107.225) smtp.mailfrom=sandisk.com; redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=bestguesspass action=none header.from=sandisk.com; Received-SPF: Pass (protection.outlook.com: domain of sandisk.com designates 63.163.107.225 as permitted sender) receiver=protection.outlook.com; client-ip=63.163.107.225; helo=milsmgep14.sandisk.com; Received: from milsmgep14.sandisk.com (63.163.107.225) by BN1AFFO11FD047.mail.protection.outlook.com (10.58.53.62) 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:55 +0000 Received: from MILHUBIP03.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 17.87.01420.0D035785; Tue, 10 Jan 2017 11:06:56 -0800 (PST) Received: from milsmgip11.sandisk.com (10.177.8.100) by MILHUBIP03.sdcorp.global.sandisk.com (10.177.9.96) with Microsoft SMTP Server id 14.3.319.2; Tue, 10 Jan 2017 11:15:54 -0800 X-AuditID: 0ac94371-47fff7000001058c-53-587530d0fb12 Received: from exp-402881.sdcorp.global.sandisk.com ( [10.177.9.6]) by (Symantec Messaging Gateway) with SMTP id DB.48.16817.AE235785; Tue, 10 Jan 2017 11:15:54 -0800 (PST) From: Bart Van Assche <bart.vanassche@sandisk.com> To: Doug Ledford <dledford@redhat.com> CC: <linux-rdma@vger.kernel.org>, Moni Shoua <monis@mellanox.com> Subject: [PATCH v2 01/15] IB/rxe: Suppress sparse warnings Date: Tue, 10 Jan 2017 11:15:40 -0800 Message-ID: <20170110191554.17359-2-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+NgFjrJLMWRmVeSWpSXmKPExsXCddJ5ke4Fg9IIg/Pt1hYvz39gtXh2qJfF YsP7NewOzB7Pph9m8ni/7yqbx+dNcgHMUVw2Kak5mWWpRfp2CVwZa392MRZ8Eqg4u28acwPj Ir4uRk4OCQETid0be9m7GLk4hASWMkksnXiREcLZwSjx5OA7oAwHWFX/dCmI+EZGiX+HL7GD dLMJGEl8ez+TBcQWEVCT2PRqEVicWcBR4tK0T0wgvcICVhJfOphAwiwCqhJzz7wCK+EVsJdY +OsTG8QR8hK72i6ygticAg4SHxbcB2sVAqqZssoYouQ5i8SjlUEQrYISJ2c+YYHYJCFx8MUL ZhBbSEBd4uSS+UwTGIVmISmbhaRsASPTKkax3Myc4tz01AJDE73ixLyUzOJsveT83E2MkAAu 3MH4+rb3IUYBDkYlHt6OZyURQqyJZcWVuYcYJTiYlUR4U/VKI4R4UxIrq1KL8uOLSnNSiw8x SnOwKInzXoz+GCYkkJ5YkpqdmlqQWgSTZeLglGpgFNySHX/gxeF1apfbrzhIv7IWapfYEX29 bK5sZ+jTu3c7w6rbtcrZLwa0xoWG6y48cJzz2OnrW1YdMHCbV2bYz5Y5f8pvm6bjq458MnFs 3y9bXWs0f3H78k97xL86GiyOuV+q6ZOZNlfJ1FDHeeKSk7EsJv/Cpobturpp0rfZrBzhl40/ zJjMqsRSnJFoqMVcVJwIAGzXUu5cAgAA X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupjkuLIzCtJLcpLzFFi42Lh2sjJpvvKqDTC4OUBOYuX5z+wWjw71Mti seH9GnYHZo9n0w8zebzfd5XN4/MmuQDmKC6blNSczLLUIn27BK6MtT+7GAs+CVSc3TeNuYFx EV8XIweHhICJRP90qS5GLg4hgfWMEu+XzmTqYuTkYBMwkvj2fiYLiC0ioCax6dUidpB6ZgFH idvnQ0BMYQEriS8dYNUsAqoSc8+8YgexeQXsJX6cuM0GYksIyEvsarvICmJzCjhIfFhwnwmk VQioZsoq4wmM3AsYGVYxiuVm5hTnpmcWGBrqFSfmpWQWZ+sl5+duYoT4OHIH49OJ5ocYmTg4 pRoYF+TpHwvY9nLOjEn/ih6f0vUIlJ7+/cnq96bH2KqeHv256Nv2268smHd5X9D54d3XbLlH e9X3shfCVyNd/e4Jx1W0nRGpO1X+1yvor7yWhVvf249ce3ZznLXrfp5sU2T71srmsM6ty5Gd txujRYTDZ16uD2ea7cRlk/ekvn+V/UT1I/nLTT/6KrEUZyQaajEXFScCAIHL32OhAQAA MIME-Version: 1.0 Content-Type: text/plain X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:63.163.107.225; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(7916002)(39450400003)(39860400002)(39850400002)(39840400002)(39410400002)(2980300002)(438002)(189002)(199003)(77096006)(6916009)(50466002)(38730400001)(33646002)(92566002)(48376002)(2950100002)(356003)(8936002)(1076002)(6666003)(68736007)(54906002)(76176999)(4326007)(2906002)(50226002)(81166006)(8676002)(81156014)(305945005)(5660300001)(69596002)(626004)(5003940100001)(36756003)(97736004)(189998001)(86362001)(110136003)(50986999)(47776003)(2270400002)(106466001); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR02MB1415; H:milsmgep14.sandisk.com; FPR:; SPF:Pass; PTR:InfoDomainNonexistent; MX:1; A:1; LANG:en; X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD047; 1:b8g0rM2BUpGMhermqKoq70dz1/CAmFLNzMkVjTvn3KZL8HKDCbUxD3NMPJUWW8Cf7fvG6aQQcaE8AaEhAGSGvt0cf1y2f+rMJ/vW+uu7Z5nc0GDAvGFKcEOYO/K3AC6FUpwbrSYYGYmfvTM06bgwpkik2EkzIfCz8LtUZdVQTQ+s6RxVQX4i+1SZ2voQs0E5/eQ68ILYWVwLGV5/GFgqSRIYRGRLAFhoKjfg4p5jNa1PQ2VQhPa++lZ5Q/IQitNRgYyW+pZAx2vxIhQJnd90LVVpFU/Fg6FM24yYN2B2yZFsw7G1vD4vTjE/qAKF/+KjPPFOWRZ+ehyV4fLOgkGGeSfyQmn4QZwwe//wW/wNTcs37QrhXdf9k0Y1NsXKPjNRDpq59nIJo8DeZAGAD4xvV6ydqCiJlBao71tFgrQ1EFR4J2tUhL+FozoM81SmJ0VoK0i9YEsy7Wws7WB19UUJDD4kNpMIO7FkGInTTZBU/TY= X-MS-Office365-Filtering-Correlation-Id: 9028f166-560f-4f15-a189-08d4398d1a70 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(8251501002); SRVR:CY1PR02MB1415; X-Microsoft-Exchange-Diagnostics: 1; CY1PR02MB1415; 3:8MHZl7E5KFcqBcmjQHtMnN63HBoCnfzWyPKbO5ynezVVISkhVJ09+YH3N8yUiH6gmEuHFRYWd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t0P/Im5ZyZY+TagVCk1za1ONulGCoXWD1Twe4CWfoQeLNIOZ0iDvMi5jEPm3LvRg34MiSXamiA9YkSkGwxhMdj1hq3CrTi5VqaomqbGXvMIvEK5gMHvuTQeXmdK76P/a4G3VbwGCuxBKUh0vE= X-Microsoft-Exchange-Diagnostics: 1; CY1PR02MB1415; 31:rAsV8kJyvvU+beXdsv+Dh5F2pamwMCIjHDH4FF1jQ6BTG9iH2ThxX91vZGkpYVg1iQE0Ab4HtQiU1aPRCjZzWpY46JtDHev+o/TAkCIB5RwmaOORXsJUfyNPKK9hyUfkzBsPXnAqoXxYP7mrcaI6eBUY/W6qpLOVrNQ8/dF+mqhUNb1yf/9QHIH0f0wnXoE5z2oST1osczyhtZqz5Oas13aLyms8wwEw+zNU95MkTOlms+Ih55CxUbCy5gfV7A87/BZBUnU5/pds6TBlc+Lhlw==; 20:mRTLBMy1I9VzvfivxF451qjvQ+WrRmbQNm8e6WYwNpvyvgL4U3NfNTbBG//cYP9jLjKZjV3Cv1gJDnkTJ/ALXm4EW4nWYRg88pU4w5eU1s/ap1WKvdVlwPtpbnOUKGwC8VpRcYFXZGjf8qWxLY3hF4tzNmGOCKLpa8pMlyiNwMY4dPLRXaIWWvDr65+JPVd9NCM72UM8N2janbspy2RpghvgWC2CFW6ULJfu+umBOrS8FOA7HajBOptT1bt2X4D/l382ze9oZi1oCfywwC3kJINxYnwBZeh1n2b2yT5XVATUhZ1anqXCoa1xOXHYg+9fiFlzUWr9DdvZBflkAdB4PM39H1GAwWjkqLJ4uCQ+TYGCxW8bJWdYvutNK2AWPv1n5bZ3KlXaPwgIEdix98vlU086MwHAQCBAK5Vxy7KY1SEJVoFrkvblWBxXYtXfWuZyLLSJgzKQ8BY8vE/2d9cgI3tudP1lVZsakYmGF9+U/F/vF07R24ip0ujBi3iEaoLL X-Microsoft-Antispam-PRVS: <CY1PR02MB14159286B1F1BC3BCC00713B81670@CY1PR02MB1415.namprd02.prod.outlook.com> 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:CY1PR02MB1415; BCL:0; PCL:0; RULEID:; SRVR:CY1PR02MB1415; X-Microsoft-Exchange-Diagnostics: 1; CY1PR02MB1415; 4:yoFFxWUUc2SVcrnvZO8l/XM1+E+m0Jb22H7xEvA9B5DAicQp/aOfI352zVgPu1+20hUdPHtttZppAVAzFKaS1Imc/pz7rWzkW02o/GwM5Dtm6gWFGdKbaFpTbiQlmyRIkiGHVy7xzdcg6F8B0FtvhpNy2tk1qFtA3ZUdFn4VtAq320FpqOGqq7KES2+UASHKUggJYuJK3N9X62FWAWDosLdPPNMBW5DE24dNDl2ObSZWmHbYUQtLcwlv3f02QisLrIAuNiBkjV9762vPUNIoc61puUi/hb9wX3piRY6217al3asF2rqbWv6Qp4uRSF2xTsxaLaHq/5wtEcPuyRCE0I1j9MkrhHN635Op/zA+UWf3E14nh+IWSmRnqeD8q6oB/xAHzqNCTzt7vIhDGe7G7kkCA1I+Mta4fVjEOhQhr86aJF51roZeCUEQ5Lhn77cvKcGr+h+nsWe3VJ5d6PH5oov0JaXFHZA4W4Lf1UjPNgBjEblauKmDiyU5hvLWL3rcF3mxMocsZw3p1uQf5i1jbZjznzc8A2WI2kr1mGV27Otknw12I5LkjQFRZggZWFLXnvNWcRioMNAdExgegOPaOes8R4G391Y1h4j79hqq0KVn0KSbNCbKWvzNvYPfTtu2kROQIaIHoVpbHnCdec7bfBMoa+tOIzxKbdj2LRtoblVpZLVN2F62YyKElo1oQZ8VyfeCDwJlnNr/AGv/WMtAsdPKNOcCxpfcQLa9EC8RW9KlLVnzYS/TwMNkKfRIaOKe X-Forefront-PRVS: 01834E39B7 X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY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NCYtR+Ttvymwrm6ZqwV9l64njIJZmTUjlgXdej0wntIvVCJQWlQc3n6U25/if4Ejh5AuNVkXbHkf/e2MVQ= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; CY1PR02MB1415; 7:YKNrkcdTqs9OVMoRaPGxp7lCEJANoNKmxexosuptM3UI2T/pJBXk3yxYtuX43WT/kup1ch/jwuQY6wUhysvD5L1Dq4Vn8li7NcB+YYietpWxHW+LhouLPIEBw+HEgf1O99km0DMed8XtW5OYWtlkwtw7gANAH37fBHax9zVihVdyDuVTBXfaoBiX8vMmgA2Mq+vWUj9VVuWecjcPRFQdNdkBnz8xBD3j6r/V72hq/12lnHmZxegwPsoggEgSlHOxhRjFwRMzfEfyPd8ee0qCJJsg7/FY5YffOP3fJlDE5nZ8jqDTSGYKTQluEYpMDCxMHpEku7Iun57ay1ev/oQ697KiiqyIfOWyl6IV6adp/IxNAFrYvHnIeNoBKMsencPt7IEnv4jBY5VyMWrbHDUhQ+YgRkziHS5irvLCNUBeqOd4lVQ5g/4ksuAGuRCNBDnc0HZvC3QN6uYpmCWYnRhBNw== X-OriginatorOrg: sandisk.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jan 2017 19:15:55.9099 (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.225]; Helo=[milsmgep14.sandisk.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR02MB1415 Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: <linux-rdma.vger.kernel.org> X-Mailing-List: linux-rdma@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/drivers/infiniband/sw/rxe/rxe_net.c b/drivers/infiniband/sw/rxe/rxe_net.c index 342e78163613..151f639abebf 100644 --- a/drivers/infiniband/sw/rxe/rxe_net.c +++ b/drivers/infiniband/sw/rxe/rxe_net.c @@ -243,8 +243,8 @@ static struct socket *rxe_setup_udp_tunnel(struct net *net, __be16 port, { int err; struct socket *sock; - struct udp_port_cfg udp_cfg = {0}; - struct udp_tunnel_sock_cfg tnl_cfg = {0}; + struct udp_port_cfg udp_cfg = { }; + struct udp_tunnel_sock_cfg tnl_cfg = { }; if (ipv6) { udp_cfg.family = AF_INET6; @@ -658,7 +658,7 @@ struct notifier_block rxe_net_notifier = { .notifier_call = rxe_notify, }; -int rxe_net_ipv4_init(void) +static int rxe_net_ipv4_init(void) { recv_sockets.sk4 = rxe_setup_udp_tunnel(&init_net, htons(ROCE_V2_UDP_DPORT), false); @@ -671,7 +671,7 @@ int rxe_net_ipv4_init(void) return 0; } -int rxe_net_ipv6_init(void) +static int rxe_net_ipv6_init(void) { #if IS_ENABLED(CONFIG_IPV6) diff --git a/drivers/infiniband/sw/rxe/rxe_recv.c b/drivers/infiniband/sw/rxe/rxe_recv.c index 252b4d637d45..50886031096f 100644 --- a/drivers/infiniband/sw/rxe/rxe_recv.c +++ b/drivers/infiniband/sw/rxe/rxe_recv.c @@ -389,7 +389,7 @@ int rxe_rcv(struct sk_buff *skb) calc_icrc = rxe_icrc_hdr(pkt, skb); calc_icrc = crc32_le(calc_icrc, (u8 *)payload_addr(pkt), payload_size(pkt)); - calc_icrc = cpu_to_be32(~calc_icrc); + calc_icrc = (__force u32)cpu_to_be32(~calc_icrc); if (unlikely(calc_icrc != pack_icrc)) { if (skb->protocol == htons(ETH_P_IPV6)) pr_warn_ratelimited("bad ICRC from %pI6c\n",