lkml.org 
[lkml]   [2018]   [May]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] powerpc/sstep: Fix kernel crash if VSX is not present
Date
This is a next version to RFC patch:
https://lkml.org/lkml/2018/5/16/36

kbuild test robot reported the following build failure with RFC.

error: unused variable 'type' [-Werror=unused-variable]
int type;
^~~~

I've fixed it along with following changes.

1st patch introduces a new macro to simplify code a bit.
2nd patch fixes the kernel crash when VSX is not supported
or disabled.
3rd patch fixes emulate_step() tests

Ravi Bangoria (3):
powerpc/sstep: Introduce GETTYPE macro
powerpc/sstep: Fix kernel crash if VSX is not present
powerpc/sstep: Fix emulate_step test if VSX not present

arch/powerpc/include/asm/sstep.h | 2 ++
arch/powerpc/kernel/align.c | 2 +-
arch/powerpc/lib/sstep.c | 15 ++++++++++++---
arch/powerpc/lib/test_emulate_step.c | 21 +++++++++++++++------
4 files changed, 30 insertions(+), 10 deletions(-)

--
2.16.2

\
 
 \ /
  Last update: 2018-05-21 06:22    [W:0.067 / U:0.836 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site