lkml.org 
[lkml]   [2020]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectlinux-next: build warning after merge of the scmi tree
Hi all,

After merging the scmi tree, today's linux-next build (x86_64
allmodconfig) produced this warning:

drivers/firmware/arm_scmi/clock.c: In function 'rate_cmp_func':
drivers/firmware/arm_scmi/clock.c:128:12: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
128 | u64 *r1 = _r1, *r2 = _r2;
| ^~~
drivers/firmware/arm_scmi/clock.c:128:23: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
128 | u64 *r1 = _r1, *r2 = _r2;
| ^~~

Introduced by commit

f0a2500a2a05 ("firmware: arm_scmi: Keep the discrete clock rates sorted")

--
Cheers,
Stephen Rothwell
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2020-07-09 01:54    [W:0.162 / U:0.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site