Re: [linux-yocto] [PATCH] [for all x86 branches] x86/boot: Save fields explicitly, zero out everything else

2019-09-05 Thread Bruce Ashfield
Since this is destined for -stable, I'm not going to merge the individual patch. I'm holding nearly all 5.2 updates until the last introduction issues are fixed. By that time, I'll have the next round of -stable updates ready to go as well. Cheers, Bruce On Thu, Sep 5, 2019 at 6:02 AM wrote:

[linux-yocto] [PATCH] [for all x86 branches] x86/boot: Save fields explicitly, zero out everything else

2019-09-05 Thread zhe.he
From: John Hubbard commit a90118c445cc7f07781de26a9684d4ec58bfcfd1 upstream. Recent gcc compilers (gcc 9.1) generate warnings about an out of bounds memset, if the memset goes accross several fields of a struct. This generated a couple of warnings on x86_64 builds in sanitize_boot_params().