Message ID | 8b33192c915a301385dbe1e755e5a60b86cc7e07.1503965717.git.aditr@vmware.com (mailing list archive) |
---|---|
State | Superseded |
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 C959560380 for <patchwork-linux-rdma@patchwork.kernel.org>; Tue, 29 Aug 2017 00:20:26 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BCB37287F9 for <patchwork-linux-rdma@patchwork.kernel.org>; Tue, 29 Aug 2017 00:20:26 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B0F6F28818; Tue, 29 Aug 2017 00:20:26 +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 47B5D287F9 for <patchwork-linux-rdma@patchwork.kernel.org>; Tue, 29 Aug 2017 00:20:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751215AbdH2AUU (ORCPT <rfc822;patchwork-linux-rdma@patchwork.kernel.org>); Mon, 28 Aug 2017 20:20:20 -0400 Received: from mail-bl2nam02on0049.outbound.protection.outlook.com ([104.47.38.49]:23040 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751194AbdH2AUT (ORCPT <rfc822;linux-rdma@vger.kernel.org>); Mon, 28 Aug 2017 20:20:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=onevmw.onmicrosoft.com; s=selector1-vmware-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=76movdv/gGwTmjERwqvjZ3gcEFwJHWMvQekajv/o6t8=; b=hth5KyeW+Fg3I8ercEg2AHgoE3DR/fpl43Z9aZnnUaHiL8dWPYx/0McLhKwFV+MpmkPW5lRdQVHrnwjJxBResCHzqjZEOj6ap8qriuyVN6iCNkGEAbCDnpKVkby5zNAfHYm0FQBdyfxE+QF78pYWO0jsiUFut8wacY97rWKY8P0= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=aditr@vmware.com; Received: from promb-2s-dhcp95-136.eng.vmware.com (208.91.1.34) by DM5PR05MB3513.namprd05.prod.outlook.com (10.174.242.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.13.2; Tue, 29 Aug 2017 00:20:15 +0000 From: Adit Ranadive <aditr@vmware.com> To: dledford@redhat.com, linux-rdma@vger.kernel.org Cc: Adit Ranadive <aditr@vmware.com>, pv-drivers@vmware.com Subject: [PATCH for-next 2/2] RDMA/vmw_pvrdma: Fix a signedness Date: Mon, 28 Aug 2017 17:19:36 -0700 Message-Id: <8b33192c915a301385dbe1e755e5a60b86cc7e07.1503965717.git.aditr@vmware.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <cover.1503965717.git.aditr@vmware.com> References: <cover.1503965717.git.aditr@vmware.com> MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [208.91.1.34] X-ClientProxiedBy: MWHPR09CA0025.namprd09.prod.outlook.com (10.173.46.139) To DM5PR05MB3513.namprd05.prod.outlook.com (10.174.242.142) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: adae43d4-f657-4ab7-11ea-08d4ee73b9f5 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(300000503095)(300135400095)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:DM5PR05MB3513; X-Microsoft-Exchange-Diagnostics: 1; DM5PR05MB3513; 3:ViXSuc0MuycUfbZkZpxtDjbM8zNhQRMRpQfVNpK5XLS5x/CM4Vel44wIorryJxz1nV2QLbVrkbewo4irhUL1/2KkpXi6vqCvNrFMx26uPX7fi+Il0Q0c6wkw64hCEeHHzvxv/+L3Nl8X96ZBcB3Du/n/wrMokd+G35MM9ky1OovjmDDxHqzvBKAkEXIJI6/+wpNd0nOJZrCKEd5h/uRdr9HUR7KzfvhEVo5Bbu0fB31YXpqpz3weyFAFwxmBb0fD; 25:flUMbq3LcB+eQ2N3tNGSdzy6LwD4q1XErHVvPyysrv00HCG8C4tEhPkbkS71w+8632XesHO8kvdeyQncrK+4V75+1tpTQsdf1e05MdP4dYMUgDGAl7fpVeU/VVvN6vrab+Gd6SFLSKDWdJ8tqmkrqZ+EegUhUJ9gLqhPik/zMFRZQPgyp1MU1MKpe/noafh5nr5oe6f3OCSKOqMwjPJ+30fNfyQ+dDVeU2J9KVsfID8iHruP5fmLlYsoQ7k0IO6f4VWwA5JrQEniZpCbTB0YWyjryKvZl593+cGRo8J+0oLGm3UZ7dHGAtegJkqX0uo1PmxAI3V2mZyuj9CG9Jde/Q==; 31:kytdlniqtzjMUvB8vyCM6erow2+I0iwuJVEwsJz9EawlFbUY876nKPaJKmoo7AfQRQVzpLwXWxxg9aTSKWeBz7iWxceMAtH8vn8SWkgjxwwmkqZuGM8dSMUMOX2mAHjxiry2jy9z+FPCxHnuzAp396KKfzvA/s2hDVfDanhweD/Y5nnV961/OjE1wlYDoA7bhyuEV56v5pCvDzKepP0oaDFQ2nC37GULG07Wr6vSs5M= X-MS-TrafficTypeDiagnostic: DM5PR05MB3513: X-Microsoft-Exchange-Diagnostics: 1; DM5PR05MB3513; 20:A6Av3fs7bOZVMwCkj6KL5yF9f0tqqYi13FYqb8aFebAcFsg4B6+fB9ECqWzOnJVqgBt+Gok0FNPTZrOzfCZPU/T2auw0IAHgGR1H/Qn46AafKareXrZAI0QjtLVQWsOpDFzpNOGDPTRCzD1GyDDTjZLwDsQUyspLcguOUhflKYI6S5fQVaAbQ05rqBNR2L3uGeji9N1jUSIurmaRF0pV26pxskO1Hci5aUFZBHF2DfXmUVQeheSMBVul1mL+ZspWERHnYHCk3EBcZ/qb5ugZPnMu6retxz0SQIgXxe0azxJaj7c/0eWFQu5TrP3WHTVqSxFtDEcDMD94MNPTu4W+z9Rb4if7AQFOvSNG+3FGs8Mv0Edbod3tYNsAkNWIder0wTIRs5PbHO89Mi8s8amPnLLz6gTTC6WMem9R9p92iujEq8qjFc0XaBLS73vsGIgIqn4m3V98qSwIdpiSP8Tgh+nODVQg27Jec5+Fci6C+vISN2hEkTjbXr1ld3e8t9tm; 4:7kdTQUcA3nCXI/HWSCEIiWcIyGrhaqNUn0TfBdlsABx9jLhvrQntuQaxT4Bg4wyToA0YMXDSeWqJNMlBncv6IRkfVYUaTcT4o9JortMQ7OBfXHveSE7ZRCruTvHTVgmSrcW2O16lAJwD1/FKB5SrgUA3+16250wumadpK54iWzWUB9EXQKMPTEL2qRmTHVLlHv13H50ie7HoXyFCI9e45c7AbhBrElMkXpDZfkxZaHCNqaI/BWNT+oW1CxzEzRttPFbPuXfHVNOZX0bv0dsaCXmAbqeH0H3JUmWmeHs9eBQ= X-Exchange-Antispam-Report-Test: UriScan:(61668805478150); X-Microsoft-Antispam-PRVS: <DM5PR05MB3513DCDD4501351E69AF3A38C59F0@DM5PR05MB3513.namprd05.prod.outlook.com> X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(100000703101)(100105400095)(10201501046)(93006095)(93001095)(3002001)(6041248)(20161123560025)(20161123555025)(20161123562025)(20161123564025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DM5PR05MB3513; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DM5PR05MB3513; X-Forefront-PRVS: 0414DF926F X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(7370300001)(6009001)(39860400002)(189002)(199003)(478600001)(66066001)(47776003)(53936002)(48376002)(97736004)(4326008)(5660300001)(50226002)(86362001)(25786009)(110136004)(107886003)(81156014)(81166006)(106356001)(50986999)(36756003)(8676002)(118296001)(6486002)(3846002)(6116002)(2906002)(76176999)(33646002)(101416001)(68736007)(5003940100001)(7350300001)(6666003)(7736002)(105586002)(305945005)(2950100002)(42186005)(189998001)(50466002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM5PR05MB3513; H:promb-2s-dhcp95-136.eng.vmware.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: vmware.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; DM5PR05MB3513; 23:w5DzZpz5T+gX5yVjtlO+vjdLIi4L4Qr6p4avQJ9DL?= =?us-ascii?Q?ByqWXLmvD79M8ag2gLreZwwmxHsoZzX410xZqGg0SEZFlp70192Q0DBGRxk7?= =?us-ascii?Q?kXu5cYyEoP7G6bJ03mIuLlNiZvJ4VD5JkqPd6qxMSOkEgerSFzpXCZUI1PWo?= =?us-ascii?Q?GA16hzejPcUILh9d9F+HUp5SeI7BW0DGayPKidkuahx36Mox1xPcv74ZvZ38?= =?us-ascii?Q?bpGaclMv7JtMDVYEl/7ghl/9Rqm+MCf+a8thNvkTk7tFmZ9AU278mpv/bOOT?= =?us-ascii?Q?zUVEYJU83YZ8PMePy9YEcWFOtnaP94dLnM6RZ9IoYg0btE+b3sG2wOWY0vIz?= =?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Os2qH2seu9/z1ZcG3ewa01epgiIZYyXjZ7QkFFcKvuE+Tc3PHk8gmBW8vhqae0tRo9rfX0LukKNxijlRy2lPzkn5eth3aKRzBSNouKZxyZosYaB8J56Zh53yWIodvo4800YOD3mNoaRxVGML6jY4Jhmi46jOkZC0CWDKwLM6/gJogtiCgFWZJa0TCpaX/hGNCKa4b1tSU7+1FkYqbPyHyV5dRLQlP6b5gNwORS/7rrq0tXXZ2wwTBRefu5DxRilXvw==; 5:OnUqAldqunMCV8IMB2jDfCNDwJyEAVkNuhO36zbhOlujSmylryueKaTM+r1fdNI4Vk3SY/iFewrDDXAa9WPbFU5T3yvB33mZb8XwAqAoyRPS2+EST1su9VC2gfbO6BRzHzvRjveHkuYcqzFmlTg6aA==; 24:U92RZ7WUvT0k16ZVkvm0XDnGOv3tcPefGdkxA6mkOcGr1oPA+D95r9TmF+wnGEujcXOdlN4uhVTSQtA2kcJX2cVtswWhXIoxa/mKCVWz+EY=; 7:2/6oIqlMt55pVcoTPrTqy8atfkwqjJccY76QqSfaYf1iNLYvihgKW1c9Md55IBh6np/tsc7q0NDgEGJJo4sMS1LMg4ffX0uSPn2wGeRDQLnP6FyTIVtnXYW1hw1m322bmQ1PJpQdYPjQqlYpWDR4tOFs1kWp815QYAHU0ZFZAigqBdjnEcYIWF10NGkd+vu47preQOw+PxMWjLHbgvH0ytym1KQpIcYQMenDtAW7cKA= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; DM5PR05MB3513; 20:BrlO70lxFWqObl7nqINH/zDkvqsF2iSVANq1wlejeNT1O+QsH3p2A7yklncggJP6y1ZOg5AnkWOwkULSOV75YLmezRuhVbiHOpSxcSLuLf81+O1toCQlJfggidvBLalXig7rXB70aTMNlJ1Xsa+3C9K03o/X6viXI5Atxjknnqw= X-OriginatorOrg: vmware.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Aug 2017 00:20:15.7859 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR05MB3513 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/hw/vmw_pvrdma/pvrdma_cq.c b/drivers/infiniband/hw/vmw_pvrdma/pvrdma_cq.c index 34727f6..6b98890 100644 --- a/drivers/infiniband/hw/vmw_pvrdma/pvrdma_cq.c +++ b/drivers/infiniband/hw/vmw_pvrdma/pvrdma_cq.c @@ -299,7 +299,7 @@ static inline struct pvrdma_cqe *get_cqe(struct pvrdma_cq *cq, int i) void _pvrdma_flush_cqe(struct pvrdma_qp *qp, struct pvrdma_cq *cq) { - int head; + unsigned int head; int has_data; if (!cq->is_kernel)
Fixes: 29c8d9eba550 ("IB: Add vmw_pvrdma driver") Signed-off-by: Adit Ranadive <aditr@vmware.com> --- drivers/infiniband/hw/vmw_pvrdma/pvrdma_cq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)