linux-next: build warning after merge of the drivers-x86 tree
Hi all,
After merging the drivers-x86 tree, today's linux-next build (x86_64 allmodconfig) produced this warning:
drivers/platform/x86/intel_scu_wdt.c: In function 'register_mid_wdt':drivers/platform/x86/intel_scu_wdt.c:66:28: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
66 | wdt_dev.dev.platform_data = (const struct intel_mid_wdt_pdata *)id->driver_data;
| ^
Introduced by commit
a507e5d90f3d ("platform/x86: intel_scu_wdt: Get rid of custom x86 model comparison")
Signature · 2 lines
Cheers, Stephen Rothwell
Hi Stephen, Andy,
Quoted 5 lines · Stephen Rothwell
Hi all,
After merging the drivers-x86 tree, today's linux-next build (
x86_64allmodconfig) produced this warning:
Quoted 8 lines
drivers/platform/x86/intel_scu_wdt.c: In function 'register_mid_wdt':drivers/platform/x86/intel_scu_wdt.c:66:28: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
66 | wdt_dev.dev.platform_data = (const structintel_mid_wdt_pdata*)id->driver_data;
| ^Introduced by commit
a507e5d90f3d("platform/x86:intel_scu_wdt: Get rid of custom x86 model comparison")
Thank you for the bug report.
Andy can you send me a fix for this please ?
Regards,
Hans
Quoted 13 lines · Hans de Goede
Hi Stephen, Andy,
Quoted 10 lines · Stephen Rothwell
Hi all,
After merging the drivers-x86 tree, today's linux-next build (
x86_64allmodconfig) produced this warning:
drivers/platform/x86/intel_scu_wdt.c: In function 'register_mid_wdt':drivers/platform/x86/intel_scu_wdt.c:66:28: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
66 | wdt_dev.dev.platform_data = (const structintel_mid_wdt_pdata*)id->driver_data;
| ^
Quoted 7 lines
Quoted 3 lines
Introduced by commit
a507e5d90f3d("platform/x86:intel_scu_wdt: Get rid of custom x86 model comparison")Thank you for the bug report.
Andy can you send me a fix for this please ?
Fix just has been sent.
Signature · 2 lines
With Best Regards, Andy Shevchenko