From patchwork Wed Oct 12 13:47:03 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary R Hook X-Patchwork-Id: 9373435 X-Patchwork-Delegate: herbert@gondor.apana.org.au 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 2832F60839 for ; Wed, 12 Oct 2016 15:22:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0B2C5291DF for ; Wed, 12 Oct 2016 15:22:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F1653295E9; Wed, 12 Oct 2016 15:22:31 +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 1F3C5291DF for ; Wed, 12 Oct 2016 15:22:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755221AbcJLPWa (ORCPT ); Wed, 12 Oct 2016 11:22:30 -0400 Received: from mail-by2nam01on0041.outbound.protection.outlook.com ([104.47.34.41]:44448 "EHLO NAM01-BY2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1754043AbcJLPW3 (ORCPT ); Wed, 12 Oct 2016 11:22:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amdcloud.onmicrosoft.com; s=selector1-amd-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=FxQKsAnLlDAbERUiKhabhKd8Q2x+oAags7A4Qweb0q0=; b=cJvW8NJBzAw/d0/hzu4WW+AOLzQ0q3uA7VpslN01I4nrrw8TY5Caml/rShuefnhZ8CEuUhvmPj1pgu+G/iDV3RIopcsdps24HipiPq4D+cosfB7s9MiNmgtDdwWYRASnm0084jdFjepm0Y1FP3taQ/64qvAmQNZ83PX4cenonvo= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Gary.Hook@amd.com; Received: from [10.236.19.42] (165.204.77.1) by MWHPR12MB1406.namprd12.prod.outlook.com (10.169.206.17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.649.16; Wed, 12 Oct 2016 13:47:10 +0000 Subject: [PATCH] crypto: CCP - change type of struct member lsb to signed From: Gary R Hook To: CC: , , Date: Wed, 12 Oct 2016 08:47:03 -0500 Message-ID: <20161012134703.15296.24795.stgit@taos> User-Agent: StGit/0.17.1-dirty MIME-Version: 1.0 X-Originating-IP: [165.204.77.1] X-ClientProxiedBy: BY2PR05CA035.namprd05.prod.outlook.com (10.141.250.25) To MWHPR12MB1406.namprd12.prod.outlook.com (10.169.206.17) X-MS-Office365-Filtering-Correlation-Id: 13c6701c-7bde-47ab-8314-08d3f2a643cb X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1406; 2:IeKPd2/4IYGc8nsgTE2LSdpxZ2glnpLKwqr8LvchIdDM3p2xawNnbtm+AhnfjGJvn5X75xcVm5LwunqBOyuuLDCp3R1MBr6H4RSObmViG6l8Szktlxz007vWtMQ4wbafLYd2bqQm0b/aiXCMPpZ3szaXJpsMo7j0ecfuO/CYxlt1PVeG93haufbeO6LH5NZLEXEX9M1Y9PZraWrApdgfqg==; 3:2CCikcKu+a3gasy5BSQE61yymnZ41MSnerAP+Xyf0p9mAuLPidTNgOdKu+zkX2kvLEVgMZIYp5d5W3KpaBS/hPsLswrTRgAhJLXxQmw1cYSzUd9kMAdEjxgkIx41KW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S4niIwZRIH/+4Gd8M8UKS4RMKeo0Gu37wB3oiclB59fca3/4cf9yFcBB0+64WaIyjDooTwKQxOSWhqgj2AOaCUmJGb5rCzCAXpj/aaOkPCBQcZeQBjADthUtujzO8T+dDANLOa4deC+dI1DFVZEOfwmtf5jR1XGVxNAQK5e6NIh6hnQuVBxuG7TR3Dhd6engYTsqrb5DwFxBgsrMCX272TXHBg8M2/h9xJBzel+Ds9Nr4tWBRVrEMyvXKXlcbbH X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040176)(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046)(6055026); SRVR:MWHPR12MB1406; BCL:0; PCL:0; RULEID:; SRVR:MWHPR12MB1406; X-Microsoft-Exchange-Diagnostics: 1; MWHPR12MB1406; 4:O9JEy+b0f9NmP49BbspRKy4TvAb1VMkv2SpZg9H5B0jVD20y6WvXpx5UVbIRQIcvK9PkrocQFqlcvyZWo4f0Y64L6+dXJ3R4F2YCC3XTzcbl9rPWbKhpitAE5TiGJwo6SyuPHYIjWZw7NbvetPTLxGVk/o0nvQbMsC6Eo+iXkWmNvRQ0/lLmT91W4JlLmmvEvl9cFuzGTFRjN6KBfYZVTw3A4zJTSxapqTIPiO4h0OZdg0IyzMHoQI5Oe2ukBV9l2Y474wA0pHnjUacf6xCLns+zDYuJ9TWBjFPRlgX37EOLrFiFq0hJMDk3OP45KXlaFAgj51i4k8QLIIGXxoBfakv2ocf9wj+iYX0o55CHZcYC0lqSiGNcqrmUpPQH+k7YnA5N+W2bQ9/AsHD+RtThPPdr2x4aZ4TS2YOqZmWsjf0BAbW0flGSEnZj9tE07ASeDyV3adqQqp7gbUto51gWAw== X-Forefront-PRVS: 0093C80C01 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(4630300001)(6009001)(6049001)(7916002)(199003)(189002)(2351001)(68736007)(66066001)(103116003)(7846002)(77096005)(305945005)(101416001)(7736002)(33716001)(47776003)(230700001)(105586002)(106356001)(189998001)(97736004)(42186005)(4001350100001)(6116002)(54356999)(229853001)(50986999)(33646002)(19580395003)(19580405001)(6666003)(92566002)(6916009)(110136003)(23676002)(50466002)(2906002)(3846002)(97746001)(81166006)(5660300001)(86362001)(4326007)(81156014)(83506001)(1076002)(9686002)(8676002)(586003); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR12MB1406; H:[10.236.19.42]; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?utf-8?B?MTtNV0hQUjEyTUIxNDA2OzIzOlNDV29aeUYybVhzTjlVVWZ5OG4zUXVldW0w?= =?utf-8?B?QVQvTVZyb2hNSVZuQmlMR3FMNnFJU1g2ejNYcVI4QUsxUUU2TlJSWEdpY0NK?= =?utf-8?B?dXJaYjF5c2dPREtKSU9ycE5GVnBheVdEcXpWczUzWWk2cG8yN1FGQzhIem1U?= =?utf-8?B?QjJ2TTg4Z09FelpNV0VDejVQUG1GbkJnWFAvRG5yUlJXTWkrcW1DTWtMcW9q?= =?utf-8?B?Rkt3TGNjNHM2SnZEQ3Q4c1VsTUo4bGxjMUNqdnVEaGwrUWViTXVxU0x5MlNk?= =?utf-8?B?TW01L0tXZFEzVjIvREtBb3pTNFEyRHA4MWhLcDhUM01IeG90cFU0VGZkcGpO?= =?utf-8?B?anduU25oQWd6Ymt3eE5qTlZVWWpzRjR5YTQrZkZTd1pjZTQyWjZ1dnVibTFP?= =?utf-8?B?V3duckttQSs4VWVCbmpyWkhUd0o0T0htVHA0WHdsUnFOdUtqNGtTMUpKSUJk?= =?utf-8?B?RkNjRWxwZFgwRjk5RGJVSWhWUDFJYTdaSW5vL2kxbnhHc3JHb2hGZDd6and5?= =?utf-8?B?UGYvUUpVcDBPWTM1a2ZJRG16c3Zrd1dMRWMydzg4cnhKeEJRRTJqVUh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CYwRjOle7ePYvVDZZZAuCzAMsLpNZMbO2x+l3+i2weso9Oq1hfd+sh96Zcwv3lTyZ1zPXqPTMcPAck7KRFvxgjbKwVY9mdVT45T8jyku1o/UrsGsorODEEods5/CqZ9JKQyFrum9XcbczdA8Q6Mznqc2+hmfbwnoQzxVARReCfnywgwSghBPztiIvaVenKAVGXC+TZNJrQL8qFffLs/nrQyVR7UlUbjXDVWg1+x1Pr3pUfpizV678EGDz5i60nWd8M7caHLHay6YIOrYeBtvHMsKJzJu8EWlj9zuVe7CuKF6w0w/ic7LQCEFtE=; 20:vVMbGa/X42qT2Om4eh9VtHD5B/LXTNcOsjPoMzb/LvmkUcSGNsJWPVtieJA4hHy7QD49HKBEIWEmRUEcDakx8ApLj8X237u8wyo3Da/PUhVrYv0BdeVymLbxjgdTlxOkfqn8EkUaX1TETcx8TuiRrEMXIjySKeI1A1iDL9Sp8zpKevo/VDYoK4iMTmRpzebX2dJ3a7qSNRmeF9KIGqk/ye6Yz2l1c/DfrgkYClSKUMuGwvgvyO542Y5XjsjGNJim X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Oct 2016 13:47:10.1072 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR12MB1406 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP The lsb field uses a value of -1 to indicate that it is unassigned. Therefore type must be a signed int. Signed-off-by: Gary R Hook --- drivers/crypto/ccp/ccp-dev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/crypto/ccp/ccp-dev.h b/drivers/crypto/ccp/ccp-dev.h index da5f4a6..5afaa53 100644 --- a/drivers/crypto/ccp/ccp-dev.h +++ b/drivers/crypto/ccp/ccp-dev.h @@ -278,7 +278,7 @@ struct ccp_cmd_queue { /* Private LSB that is assigned to this queue, or -1 if none. * Bitmap for my private LSB, unused otherwise */ - unsigned int lsb; + int lsb; DECLARE_BITMAP(lsbmap, PLSB_MAP_SIZE); /* Queue processing thread */