• Hidetoshi Seto's avatar
    x86, mce: trivial clean up for mce.c · 14a02530
    Hidetoshi Seto authored
    This fixs following checkpatch warnings:
    
    WARNING: Use #include <linux/uaccess.h> instead of <asm/uaccess.h>
    +#include <asm/uaccess.h>
    
    WARNING: Use #include <linux/smp.h> instead of <asm/smp.h>
    +#include <asm/smp.h>
    
    WARNING: line over 80 characters
    +                               set_bit(MCE_OVERFLOW, (unsigned long *)&mcelog.flags);
    
    WARNING: braces {} are not necessary for any arm of this statement
    +       if (mce_notify_user()) {
    [...]
    +       } else {
    [...]
    Signed-off-by: default avatarHidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
    Cc: Andi Kleen <andi@firstfloor.org>
    Signed-off-by: default avatarH. Peter Anvin <hpa@zytor.com>
    14a02530
mce.c 30 KB