From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr0-f200.google.com (mail-wr0-f200.google.com [209.85.128.200]) by kanga.kvack.org (Postfix) with ESMTP id 844A86B0387 for ; Fri, 24 Feb 2017 04:57:18 -0500 (EST) Received: by mail-wr0-f200.google.com with SMTP id q39so9063182wrb.3 for ; Fri, 24 Feb 2017 01:57:18 -0800 (PST) Received: from mail-wm0-x22e.google.com (mail-wm0-x22e.google.com. [2a00:1450:400c:c09::22e]) by mx.google.com with ESMTPS id h61si9644618wrh.186.2017.02.24.01.57.17 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Feb 2017 01:57:17 -0800 (PST) Received: by mail-wm0-x22e.google.com with SMTP id v186so10436912wmd.0 for ; Fri, 24 Feb 2017 01:57:17 -0800 (PST) Date: Fri, 24 Feb 2017 09:57:15 +0000 From: Matt Fleming Subject: Re: [RFC PATCH v4 13/28] efi: Update efi_mem_type() to return defined EFI mem types Message-ID: <20170224095715.GW28416@codeblueprint.co.uk> References: <20170216154158.19244.66630.stgit@tlendack-t1.amdoffice.net> <20170216154457.19244.5369.stgit@tlendack-t1.amdoffice.net> <20170221120505.GQ28416@codeblueprint.co.uk> <41d5df05-14be-ff33-a7e2-6b2f51e2605a@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41d5df05-14be-ff33-a7e2-6b2f51e2605a@amd.com> Sender: owner-linux-mm@kvack.org List-ID: To: Tom Lendacky Cc: linux-arch@vger.kernel.org, linux-efi@vger.kernel.org, kvm@vger.kernel.org, linux-doc@vger.kernel.org, x86@kernel.org, linux-kernel@vger.kernel.org, kasan-dev@googlegroups.com, linux-mm@kvack.org, iommu@lists.linux-foundation.org, Rik van Riel , Radim =?utf-8?B?S3LEjW3DocWZ?= , Toshimitsu Kani , Arnd Bergmann , Jonathan Corbet , "Michael S. Tsirkin" , Joerg Roedel , Konrad Rzeszutek Wilk , Paolo Bonzini , Brijesh Singh , Ingo Molnar , Alexander Potapenko , Andy Lutomirski , "H. Peter Anvin" , Borislav Petkov , Andrey Ryabinin , Thomas Gleixner , Larry Woodman , Dmitry Vyukov On Thu, 23 Feb, at 11:27:55AM, Tom Lendacky wrote: > > I can do that, I'll change the return type to an int. For the > !efi_enabled I can return -ENOTSUPP and for when an entry isn't > found I can return -EINVAL. Sound good? Sounds good to me! -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org