All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [tip:core/efi] efi: Add "efi_fake_mem" boot option
       [not found] <tip-0f96a99dab366333439e110d6ad253bc7c557c09@git.kernel.org>
@ 2015-10-21 11:08 ` Ingo Molnar
  0 siblings, 0 replies; only message in thread
From: Ingo Molnar @ 2015-10-21 11:08 UTC (permalink / raw)
  To: ard.biesheuvel, qiuxishi, matt.fleming, hpa, tglx, tony.luck,
	kamezawa.hiroyu, izumi.taku, linux-kernel
  Cc: linux-tip-commits


* tip-bot for Taku Izumi <tipbot@zytor.com> wrote:

> Commit-ID:  0f96a99dab366333439e110d6ad253bc7c557c09
> Gitweb:     http://git.kernel.org/tip/0f96a99dab366333439e110d6ad253bc7c557c09
> Author:     Taku Izumi <izumi.taku@jp.fujitsu.com>
> AuthorDate: Wed, 30 Sep 2015 23:01:56 +0900
> Committer:  Matt Fleming <matt.fleming@intel.com>
> CommitDate: Mon, 12 Oct 2015 14:20:09 +0100
> 
> efi: Add "efi_fake_mem" boot option

So this commit started generating the following new build warning on x86 32-bit 
allyesconfig and allmodconfig builds:

drivers/firmware/efi/fake_mem.c:186:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]

Which comes from:

        u64 new_memmap_phy;

	...

        memmap.phys_map = (void *)new_memmap_phy;

While efi_memory_map has a 32-bit pointer:

struct efi_memory_map {
        void *phys_map;
        void *map;
        void *map_end;
        int nr_map;
        unsigned long desc_version;
        unsigned long desc_size;
};

Thanks,

	Ingo

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2015-10-21 11:08 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <tip-0f96a99dab366333439e110d6ad253bc7c557c09@git.kernel.org>
2015-10-21 11:08 ` [tip:core/efi] efi: Add "efi_fake_mem" boot option Ingo Molnar

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.