This patch fixes struct devs_id.name to match size of struct sfi_device_table_entry.size. Correct size if SFI_NAME_LEN instead of SFI_NAME_LEN + 1.
Signed-off-by: David Cohen <[email protected]> --- arch/x86/include/asm/intel-mid.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/include/asm/intel-mid.h b/arch/x86/include/asm/intel-mid.h index c810abd5178c..971cbb1abab3 100644 --- a/arch/x86/include/asm/intel-mid.h +++ b/arch/x86/include/asm/intel-mid.h @@ -28,7 +28,7 @@ extern struct sfi_rtc_table_entry sfi_mrtc_array[]; * its platform data. */ struct devs_id { - char name[SFI_NAME_LEN + 1]; + char name[SFI_NAME_LEN]; u8 type; u8 delay; void *(*get_platform_data)(void *info); -- 1.8.4.2 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

