lkml.org 
[lkml]   [2019]   [Jul]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v2 0/1] x86/boot: save fields explicitly, zero out everything else
Date
From: John Hubbard <jhubbard@nvidia.com>

Hi,

This uses the "save each field explicitly" approach that we discussed
during the first review [1]. As in [1], this is motivated by a desire
to clear the compiler warnings when building with gcc 9.

This is difficult to properly test. I've done a basic boot test, but
if there are actually errors in which items get zeroed or not, I don't
have a good test to uncover that.

[1] https://lore.kernel.org/r/alpine.DEB.2.21.1907260036500.1791@nanos.tec.linutronix.de

John Hubbard (1):
x86/boot: save fields explicitly, zero out everything else

arch/x86/include/asm/bootparam_utils.h | 62 +++++++++++++++++++-------
1 file changed, 47 insertions(+), 15 deletions(-)

--
2.22.0

\
 
 \ /
  Last update: 2019-07-31 07:47    [W:0.113 / U:0.208 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site