Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1390867
| Path | csiph.com!weretis.net!feeder4.news.weretis.net!news.mixmin.net!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod |
|---|---|
| From | Matt Fleming <matt@codeblueprint.co.uk> |
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] efi: Remove unnecessary (and buggy) .memmap initialization from the Xen EFI driver |
| Date | Fri, 29 Apr 2016 10:40:02 +0200 |
| Message-ID | <rtc7U-2Py-23@gated-at.bofh.it> (permalink) |
| References | <rrUZr-3iQ-1@gated-at.bofh.it> <rsRww-1zl-81@gated-at.bofh.it> <rtc7U-2Py-17@gated-at.bofh.it> |
| X-Original-To | Ingo Molnar <mingo@kernel.org> |
| Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeblueprint-co-uk.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=2nT0lDHajdM3ImKnPMhYhB7Zy8jr1JHesIpHkC1aO0s=; b=YXmKjTsc0h94ebnspNmfKGi04nkvO7qu+Rgzxgs4IZRUrNXhDEAabL7yqRQ3XsFwvs PXsUoS0MWJvN9ta4NcUJwcE0yiUf4qyTsNFE/7iZ95klQBVfUq25UsJDuEzP3ngVsFHS MAekxsDa/DNj96BWWjAhBVl6euN2sMJqNPCxwcAV3A1GFqfwvW5bSK9tgLgGRy+JAVnn fpdNGzWTksXVanXt5K86TxXg15WhsFCkBDQy5fqwaBn61E3o8l4Ag5VzLJKa6Yvm4MHu 2PlKJNn93ldVowS+LjshiljwbPITxfUZ4Zmu9LfxG8WIM3ZQUlskkL+eXSKe+w9jYbHE 0Z/A== |
| X-Google-Dkim-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=2nT0lDHajdM3ImKnPMhYhB7Zy8jr1JHesIpHkC1aO0s=; b=M2sqUsSppuMOKijZn3bNwr3fg00KmRPe7kOJysHWAQVaVLTbYNBPCzXw9PGNReHdls myTovdhsz9fLUedryQooXJtBCVkISmyPwbSvUYOdMGcZNJ8qEXWejuhRdoBmpIMNJcjW XG1CSE2JsstOzwzy3tUP8UTJ0s0WmFwpc+q0qbOO+oCCq4RVgiqSXYm5WcmLpNqlJyfG EU/ut4Nt1rASHVISbbMdLwOn+EaKuSZeyuWd80cz0Qe8upkess0GhUDM/WtBgpL9DSWH 8oRcb9Epb6/cWey1LBishCLENCyk3W9VZybIW/hM8fc1Wg2C40wYXeXKjHbU/FZPz8cU FEwA== |
| X-Gm-Message-State | AOPr4FXsQqx4iJL7hOIchNd6TivID1Vi+RfwQn2E9gVgSMcuya+8iOsHRTZSCdKJRaoq/Q== |
| X-Received | by 10.28.2.67 with SMTP id 64mr2420393wmc.70.1461919177155; Fri, 29 Apr 2016 01:39:37 -0700 (PDT) |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=us-ascii |
| Content-Disposition | inline |
| User-Agent | Mutt/1.5.24+41 (02bc14ed1569) (2015-08-30) |
| Sender | robomod@news.nic.it |
| List-ID | <linux-kernel.vger.kernel.org> |
| X-Mailing-List | linux-kernel@vger.kernel.org |
| Approved | robomod@news.nic.it |
| Lines | 28 |
| Organization | linux.* mail to news gateway |
| X-Original-Cc | linux-kernel@vger.kernel.org, peterz@infradead.org, ard.biesheuvel@linaro.org, bp@alien8.de, tglx@linutronix.de, tony.luck@intel.com, hpa@zytor.com, linux-tip-commits@vger.kernel.org |
| X-Original-Date | Fri, 29 Apr 2016 09:39:35 +0100 |
| X-Original-Message-ID | <20160429083935.GA2839@codeblueprint.co.uk> |
| X-Original-References | <1461614832-17633-8-git-send-email-matt@codeblueprint.co.uk> <tip-884f4f66ffd6ffe632f3a8be4e6d10a858afdc37@git.kernel.org> <20160429083128.GA4925@gmail.com> |
| X-Original-Sender | linux-kernel-owner@vger.kernel.org |
| Xref | csiph.com linux.kernel:1390867 |
Show key headers only | View raw
On Fri, 29 Apr, at 10:31:28AM, Ingo Molnar wrote:
>
> So this commit triggered the follwing build warning on x86 64-bit allyesconfig:
Doh! I wonder why the 0day bot didn't tell me about this?
> It's this initialization in drivers/xen/efi.c:
>
> static const struct efi efi_xen __initconst = {
> ...
> .memmap = NULL, /* Not used under Xen. */
> ...
>
> which was forgotten about, as .memmap now is an embedded struct:
>
> struct efi_memory_map memmap;
>
> We can remove this initialization - it's an EFI core internal data structure plus
> it's not used in the Xen driver anyway.
>
> Signed-off-by: Ingo Molnar <mingo@kernel.org>
> ---
> drivers/xen/efi.c | 1 -
> 1 file changed, 1 deletion(-)
Yep, looks good. Thanks Ingo!
Reviewed-by: Matt Fleming <matt@codeblueprint.co.uk>
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[tip:efi/core] efi: Remove global 'memmap' EFI memory map tip-bot for Matt Fleming <tipbot@zytor.com> - 2016-04-28 12:40 +0200
[PATCH] efi: Remove unnecessary (and buggy) .memmap initialization from the Xen EFI driver Ingo Molnar <mingo@kernel.org> - 2016-04-29 10:40 +0200
Re: [PATCH] efi: Remove unnecessary (and buggy) .memmap initialization from the Xen EFI driver Matt Fleming <matt@codeblueprint.co.uk> - 2016-04-29 10:40 +0200
[tip:efi/core] efi: Remove unnecessary (and buggy) .memmap initialization from the Xen EFI driver tip-bot for Ingo Molnar <tipbot@zytor.com> - 2016-04-29 12:00 +0200
csiph-web