Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp75379imu; Tue, 22 Jan 2019 14:08:48 -0800 (PST) X-Google-Smtp-Source: ALg8bN50tsOXNShQwgeaoz+rePP7cPU5zID/ex25YvxkBMZHij9ESzIGHsgRhNptiPZ+1Y9vrcUp X-Received: by 2002:a62:3541:: with SMTP id c62mr34964311pfa.19.1548194928535; Tue, 22 Jan 2019 14:08:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548194928; cv=none; d=google.com; s=arc-20160816; b=rWfX0hW7fBVnTMNgmxH6flPeXYqhymgDqNZiiCXtNx5xj/gCEZ7Xq89EIC5tb4lFLw QQ2RENSeYlQVMsHDaAeC4VOB4CblEnXIQ3YzR1nR7QGGK1C1hSN4RrhEwoYaBHal9vX7 W+S6kzDCUSnVod9fIa2jCQF/wPRR2O/FDUWy+3UdcNM/FXlLOmCxJypTQwRHZF2yAbxQ Jyu0DVpf6G/cIAmKQmPlq8+TyU6F8b7C8LrTl7UrCoiwr8hE6DUqTOklN4+c/vAmMm1T h69yq4jYP2XpYY6i97+RvF6b8qYW7yk1GJPmWDRZrEiFSjb6M3BETkB0HSLYrV/ikWaj /Wnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:spamdiagnosticmetadata:spamdiagnosticoutput :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=O+Nlgq6C21GXLV0RjpFDaKgVgBWRZRdfiBLXmlbe7WQ=; b=gOnTRsrNADnBXkFc+8943WwDuq143lKY2vZWKL1O0O7eAgqGVUFVC3puoAo2Ietiez PfdRVW6DJmkzNAUuQ8U6CWPvMMrttNMOisMCEs2el9XIlFi0LT2u5F9CMQ+EJ4+vMSV4 bzBEZbrirzCibKdJyYsKkVvTc+4F7YHlDFzG2fUpDD1mJQF0k5/xB6G4PPquHVQAdIjP 0E5gsbXEOgF0rRWtpPQ9Pc3SnURPC/OLrUDk2U9f6gOGpNiN4netmoP0b4R9xokfNYKV Cer14ox21VN4oLdv2ZWxtUYsICoF/A/ESf4fYlRXFH/aMvc6fZI0vf0h83oQmN0LAQgp uFOg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=CjG+x8Je; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t3si17313581pgl.108.2019.01.22.14.08.27; Tue, 22 Jan 2019 14:08:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@amdcloud.onmicrosoft.com header.s=selector1-amd-com header.b=CjG+x8Je; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726819AbfAVWHA (ORCPT + 99 others); Tue, 22 Jan 2019 17:07:00 -0500 Received: from mail-eopbgr750079.outbound.protection.outlook.com ([40.107.75.79]:23200 "EHLO NAM02-BL2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725925AbfAVWHA (ORCPT ); Tue, 22 Jan 2019 17:07:00 -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:X-MS-Exchange-SenderADCheck; bh=O+Nlgq6C21GXLV0RjpFDaKgVgBWRZRdfiBLXmlbe7WQ=; b=CjG+x8JeZTnfs8EYlyW9udeImRCN2pQewnCyl5bOut5OH2Gu8BvS2NSqOcA1otGKn9FiK8nd5YanALnt9ng1czehZWEfDhvZw3z4F/EuYu5LQ1thddNAoCL439MtVhUoJh2QeDsHvrxz2Mh2XHn9BlH41tzl7F/qEch9AC8gV8Y= Received: from DM5PR12MB1449.namprd12.prod.outlook.com (10.172.38.138) by DM5PR12MB1241.namprd12.prod.outlook.com (10.168.237.20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1537.28; Tue, 22 Jan 2019 22:06:55 +0000 Received: from DM5PR12MB1449.namprd12.prod.outlook.com ([fe80::f1ae:e660:a84b:3ed7]) by DM5PR12MB1449.namprd12.prod.outlook.com ([fe80::f1ae:e660:a84b:3ed7%9]) with mapi id 15.20.1537.031; Tue, 22 Jan 2019 22:06:55 +0000 From: Gary R Hook To: Greg Kroah-Hartman , Herbert Xu , David Miller CC: "linux-kernel@vger.kernel.org" , "linux-crypto@vger.kernel.org" , "Lendacky, Thomas" , "Hook, Gary" Subject: Re: [PATCH 6/7] crypto: ccp: no need to check return value of debugfs_create functions Thread-Topic: [PATCH 6/7] crypto: ccp: no need to check return value of debugfs_create functions Thread-Index: AQHUsmU55+qtBP6vRkSSSYlJ4h/boKW72MQA Date: Tue, 22 Jan 2019 22:06:54 +0000 Message-ID: <1330d284-560a-5e09-6d15-50da354d0da2@amd.com> References: <20190122151422.14204-1-gregkh@linuxfoundation.org> <20190122151422.14204-7-gregkh@linuxfoundation.org> In-Reply-To: <20190122151422.14204-7-gregkh@linuxfoundation.org> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: SN4PR0501CA0025.namprd05.prod.outlook.com (2603:10b6:803:40::38) To DM5PR12MB1449.namprd12.prod.outlook.com (2603:10b6:4:d::10) authentication-results: spf=none (sender IP is ) smtp.mailfrom=Gary.Hook@amd.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [165.204.78.1] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;DM5PR12MB1241;20:TOu1DddSpOGaDKApUahfS79xQJmhxvedbgkOLGy+BOcYxqmCyhL0do/S2hP0XGnl/0qEcquvBr69e3V8P1M7l2lH3AeGJFidimQs5sql6xN07WsDunW0tP7K3+T8KL+zugezbwoT/czr8z+nFSnepcJwJPAMtv70cxcwYE8MANYzo+iDwNWSyRrfNBJke/hOJzbWBD3pNSjTIFPSsHGeFwTCP6d5Ak77oxQRMNSHn7/mQdvccgtET17R+jP298nC x-ms-office365-filtering-correlation-id: 55e13bf2-365e-417d-ea47-08d680b5eb6f x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600109)(711020)(4618075)(2017052603328)(7153060)(7193020);SRVR:DM5PR12MB1241; x-ms-traffictypediagnostic: DM5PR12MB1241: x-microsoft-antispam-prvs: x-forefront-prvs: 0925081676 x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(396003)(366004)(346002)(39860400002)(376002)(136003)(199004)(189003)(2616005)(478600001)(11346002)(476003)(6246003)(446003)(6436002)(14454004)(25786009)(4326008)(66066001)(486006)(53936002)(316002)(52116002)(6116002)(229853002)(81156014)(81166006)(2906002)(72206003)(3846002)(8936002)(76176011)(8676002)(54906003)(110136005)(256004)(14444005)(36756003)(26005)(7736002)(97736004)(31686004)(305945005)(99286004)(6486002)(106356001)(71190400001)(6512007)(102836004)(186003)(68736007)(71200400001)(386003)(6506007)(53546011)(105586002)(31696002);DIR:OUT;SFP:1101;SCL:1;SRVR:DM5PR12MB1241;H:DM5PR12MB1449.namprd12.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: amd.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: NrY4Kp+jC2eS4mQG8UdBLotFneQ/q1yJvZsXu+AIp87nWpiE2m5tpX3skUIAynmrMFWhhKGpBLu3uAVurUD/qrQxnMCUfHxEdsP+PUCrUP5oyrijitMybnv2m+XDjVCdwh7J6lXMZWVH1CJMesF2hvG6XEIJu9R+pkap9yV2pjvdKAvixPWNY1K/NBJzdpQTFs6CU18RvYstgS//gpy8ZI+evyLk6X4/f5ZZ77hJlYm5dcfCaNCaZq0BQ6jFBQSiBdj2O67F07FhN/r65u7biZ+QWEJT59oI0ZSc26MTzah60iiLcp+rz5EbpDot8CkZB7LNPLySuiO5/7FTir0CCtrhkxy06VYN8hDTxWlkSj4TlGmU59Q8Ph1VtTfCUraeGwC4lspRjNe5oQAGDjwlLXPxVwekHoFCXgsF+GvmZm8= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <83AAD56A7FBBDF4E93559CA2C4952BBB@namprd12.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-Network-Message-Id: 55e13bf2-365e-417d-ea47-08d680b5eb6f X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Jan 2019 22:06:54.2146 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR12MB1241 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gMS8yMi8xOSA5OjE0IEFNLCBHcmVnIEtyb2FoLUhhcnRtYW4gd3JvdGU6DQo+IFdoZW4gY2Fs bGluZyBkZWJ1Z2ZzIGZ1bmN0aW9ucywgdGhlcmUgaXMgbm8gbmVlZCB0byBldmVyIGNoZWNrIHRo ZQ0KPiByZXR1cm4gdmFsdWUuICBUaGUgZnVuY3Rpb24gY2FuIHdvcmsgb3Igbm90L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