From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bin Meng Date: Fri, 16 Oct 2020 17:55:32 +0800 Subject: [PATCH 05/32] x86: Allow writing tables to fail In-Reply-To: <20200928042611.1696178-4-sjg@chromium.org> References: <20200928042611.1696178-1-sjg@chromium.org> <20200928042611.1696178-4-sjg@chromium.org> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Sep 28, 2020 at 12:26 PM Simon Glass wrote: > > At present write_tables() can fail but does not report this problem to its > caller. Fix this by changing the return type. > > Signed-off-by: Simon Glass > --- > > arch/x86/cpu/cpu.c | 7 ++++++- > arch/x86/include/asm/tables.h | 4 +++- > arch/x86/lib/tables.c | 5 ++++- > 3 files changed, 13 insertions(+), 3 deletions(-) > Reviewed-by: Bin Meng