From: Betty Dall Date: Fri, 27 Apr 2012 20:40:55 +0000 (-0600) Subject: x86/nmi: Fix the type of the nmiaction.flags field X-Git-Tag: v3.5-rc1~165^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ff968cca1dfebd4b6fcade87c11658dbfc96932;p=pandora-kernel.git x86/nmi: Fix the type of the nmiaction.flags field This patch changes the type of the struct nmiaction flags field to unsigned long from unsigned int. All the usages of the flags field are unsigned long already. There is only one flag used currently, NMI_FLAG_FIRST, but having the wrong size could cause a truncation bug in the future on 64 bit architectures. Signed-off-by: Betty Dall Acked-by: Don Zickus Link: http://lkml.kernel.org/r/1335559255-13454-1-git-send-email-betty.dall@hp.com Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed