From patchwork Thu Feb 15 19:34:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brijesh Singh X-Patchwork-Id: 10223479 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 2D92D6055C for ; Thu, 15 Feb 2018 19:35:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 1E22F289D1 for ; Thu, 15 Feb 2018 19:35:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 13176294DA; Thu, 15 Feb 2018 19:35:19 +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.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_HI 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 AAECB289D1 for ; Thu, 15 Feb 2018 19:35:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755500AbeBOTfR (ORCPT ); Thu, 15 Feb 2018 14:35:17 -0500 Received: from mail-dm3nam03on0047.outbound.protection.outlook.com ([104.47.41.47]:58919 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1755506AbeBOTfP (ORCPT ); Thu, 15 Feb 2018 14:35:15 -0500 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=wR4LOsVI37gTi1xqvJcQWJYLorgI+MG2Jg5NxAz0gQs=; b=gLoGVo23j9cdGLjACZd2hvxLSbPfPYfvMErHMulCHjL/J2e7+4O2ZI4bJcYAefVXfi5VzUfPZn5yjSY6jBSVpPkVTce29Z3QG6l/wCadL+rYfpQKjFfG8iALQoNtdPQaxLZzBTWVnFPjkcKtACIIubySCD9l4b4qMSmIycHUsMY= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=brijesh.singh@amd.com; Received: from wsp141597wss.amd.com (165.204.78.1) by SN1PR12MB0157.namprd12.prod.outlook.com (10.162.3.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.506.18; Thu, 15 Feb 2018 19:35:12 +0000 From: Brijesh Singh To: linux-crypto@vger.kernel.org Cc: Brijesh Singh , Herbert Xu , Borislav Petkov , Tom Lendacky , Gary R Hook Subject: [PATCH 2/2] include: psp-sev: Capitalize invalid length enum Date: Thu, 15 Feb 2018 13:34:45 -0600 Message-Id: <20180215193445.40046-2-brijesh.singh@amd.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180215193445.40046-1-brijesh.singh@amd.com> References: <20180215193445.40046-1-brijesh.singh@amd.com> MIME-Version: 1.0 X-Originating-IP: [165.204.78.1] X-ClientProxiedBy: MWHPR1601CA0006.namprd16.prod.outlook.com (10.172.93.16) To SN1PR12MB0157.namprd12.prod.outlook.com (10.162.3.144) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 8f3da42e-6b89-47a7-611b-08d574ab3bc9 X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(48565401081)(4534165)(4627221)(201703031133081)(201702281549075)(5600026)(4604075)(2017052603307)(7153060)(7193020); SRVR:SN1PR12MB0157; X-Microsoft-Exchange-Diagnostics: 1; SN1PR12MB0157; 3:uGQZWmZ3dz9R5gA8LjCYc1d5iUAU4l6xD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ACsAaUZl0tVyR8KQnu/YWWJ5w9DfOM9SEQIaYXjHfoehrmUjz9Btiw10JGZvTmYWTCfk2xcrY4O4wJX/mZh/KmVHiw2z+tMcYi239oyGwKbxvPvjLyEEyM9dYAjli/KoIUXdqVJy7A3FbQZipRkOHc843OVZZEIwleNJZF+59y5NuP/ijOq0ycbLaMwl37T+/2pwS5kBgU8jnYd4VXJtfBs0elsBxay1nU3ONxAZw8/M9uenpW60GeNADZze4pCoSyjDQi5C7tk0yZZCNTY6GKEs80LWJEaOoxWf0QX8nn8R0wmJ4jZ; 4:G1dqbp7GfJsKSdtWicsfIHXG3SfvCBo9ycWp1HAbSurWpxEcS65FGmiFOr4MwzeJsMk9rN709jFhVCOaOFAmSo91OEXHeBJdU92kVL5ORBTGJZlVB4aIb1LOXJnW4egtc59WrNIn31Ac1J60YPYHBnpa3FHPg67ZIb7zgyKloXm1TJsgeMPPVuJ8pXlzIcTqefkNZfsJKI1UpVNJPge7s7WLjg/OPqzoqb5hdZK0KUEdxQmsI+TXsoDAKQp+pCG6Id5m/Jq0U7s6YuQLFKfRff/lsIQogRtTg7DgNZo2JkMXLDHAwSQVA3mQzGfbQqQo X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(767451399110); X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040501)(2401047)(5005006)(8121501046)(3002001)(10201501046)(93006095)(93001095)(3231101)(944501161)(6055026)(6041288)(20161123562045)(20161123558120)(20161123560045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123564045)(6072148)(201708071742011); SRVR:SN1PR12MB0157; BCL:0; PCL:0; RULEID:; SRVR:SN1PR12MB0157; X-Forefront-PRVS: 058441C12A X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(39860400002)(346002)(376002)(396003)(39380400002)(189003)(199004)(26005)(8936002)(3846002)(5660300001)(186003)(16526019)(316002)(6666003)(1076002)(54906003)(6116002)(48376002)(50466002)(478600001)(386003)(8676002)(59450400001)(68736007)(86362001)(16586007)(2906002)(50226002)(7736002)(6916009)(2351001)(52116002)(106356001)(51416003)(25786009)(97736004)(4326008)(2950100002)(6486002)(2361001)(36756003)(76176011)(81166006)(53416004)(66066001)(53936002)(81156014)(47776003)(305945005)(105586002)(7696005); DIR:OUT; SFP:1101; SCL:1; SRVR:SN1PR12MB0157; H:wsp141597wss.amd.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; Received-SPF: None (protection.outlook.com: amd.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; SN1PR12MB0157; 23:1rK6YIIanevOF7wmH6IrrKbG7r638XpAlZ7eQMUoo?= =?us-ascii?Q?Us08gA/rMKTzmxDG4jaEUwPF3u57SEPQh/48Xbrd8v3Vo/CYeMMJAkw8p9uV?= =?us-ascii?Q?4gO844ngA+Keghe+hsAc3V71GT/fOHRxDAliS5ZAlzspwRj+KFIyPbf40Y7q?= =?us-ascii?Q?+zahBOngTtqadDpfi6AIDs6tiqiMJ84/2bdpX3ZYqt/l3MIfGmezzFvoCC9R?= =?us-ascii?Q?TWO1YGykpZWdWWCO0bAGNJANtEiocmLSPKEbc1t7or+bdz6/FGOKyLxdvyWB?= =?us-ascii?Q?7A+s26zoN5lT3woTi2Acm3V7XkyX3cCU6Mi4xTTqFi1JdmS5cY9lYP4V02q0?= =?us-ascii?Q?PC5lgGx73SFUkVSu0YD+2Xv3esMZNkOrmSUlNrUvdRk73J9bDyJdLFxhcGRA?= =?us-ascii?Q?e2m6HbVrGgUbsPXPZfL43GMcdQul/CaOb61GK64RHimKRUHrQV2R3JMpt4DC?= =?us-ascii?Q?Hv2IYcubFvALM3HUVeKyyhMlIFJkh6qEOgdUizf1QcJL219bRsvm/JeM3oNS?= =?us-ascii?Q?3tDtRoHUHs8x6xvC0jGsG+9Bn4nZQSz2jJKzR767xmbhBdnAtg2da8YL2RUg?= =?us-ascii?Q?vzCmHKEqb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Z9CorcSkBQVeQ0oTWg6+s9ecUYSp+i0vKFq/POBYYGn68blii0kMr4j/tyj+S3MhF2/dBUUQgauFD2CpBt4hVV/QgQ6ImnvJqeE=; 5:Mr4I9sOBTINaMjWXduscTXn6gsTaJIAfWTZqlnEU7+zMXXNN5jjxGqgcVXWTEfwpiFvG6Z6NnJ/eSTsHLH4lNRT9A+sIWfIpk7xMNyWqaGwDl6RvubQpy4fs6QUlNpcoVcraQ+nfYQxV5tCiEJ9AGpnPcCJpqLkvGXwitsCnf/Y=; 24:gG9ixRrxl26LINdbtBzkQdG/0d+dKRFPJ1QIKBJsY/yeGXo7P4Qr8lBIbQdZHEbP5cbGlyD2BZzzJZdx0vlZXNOLqshw5VqCKocJKH3HVAQ=; 7:73sZwHtSjlhu7ztHy26RCs7xVqTaaJhudD0hsu+fxqfs4WVNAK/oZbojAtDFHxKtvxkDDxkhRmrKl8BD1UIdMQCpND2aUQG3O1AUIW+8XsOB5AJxte0Vt2ta0XscDQi2qH2JcMQERMyMzDHyawIho8hFkBSSFBB8x9SFk+CNu66uVDJfXB1Vb+Q7WWf66vWcNi+9sSpa7qM2tnm+sAj0T4ysng29YbfcT49i/FPrAupUltUs97rQY7h5Fvq8rulV SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; SN1PR12MB0157; 20:qjspLl19Rqxnhu/02tyFUsH4g4xhx1kVXE9taHetgbs5MfMBHQIifQp7izziczVnhaHz/gBpNVyFdOGy+M+PTG1Hp0cVWcVYyvR7/0hgUi4b7UVdp7Dp1Qmpqs7ZnLT7iIT0K7YiKsUBlsY81C9Tg8HaIJPygk82IuQ1VmT5k+Wyqy4B0vZlItBWacsG1ceBLAoK+qMLuTDRtMSUTIAUshG/mQp6vOtdwiOxplro5xe8fMYmP4lBwQF00FkC2MvM X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Feb 2018 19:35:12.4388 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8f3da42e-6b89-47a7-611b-08d574ab3bc9 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN1PR12MB0157 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 Commit 1d57b17c60ff ("crypto: ccp: Define SEV userspace ioctl and command id") added the invalid length enum but we missed capitalizing it. Fixes: 1d57b17c60ff (crypto: ccp: Define SEV userspace ioctl ...) Cc: Herbert Xu Cc: Borislav Petkov Cc: Tom Lendacky CC: Gary R Hook Signed-off-by: Brijesh Singh Acked-by: Gary R Hook --- include/uapi/linux/psp-sev.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/uapi/linux/psp-sev.h b/include/uapi/linux/psp-sev.h index 3d77fe91239a..9008f31c7eb6 100644 --- a/include/uapi/linux/psp-sev.h +++ b/include/uapi/linux/psp-sev.h @@ -42,7 +42,7 @@ typedef enum { SEV_RET_INVALID_PLATFORM_STATE, SEV_RET_INVALID_GUEST_STATE, SEV_RET_INAVLID_CONFIG, - SEV_RET_INVALID_len, + SEV_RET_INVALID_LEN, SEV_RET_ALREADY_OWNED, SEV_RET_INVALID_CERTIFICATE, SEV_RET_POLICY_FAILURE,