Re: [PATCH][next] rtc: Avoid a couple of -Wflex-array-member-not-at-end warnings
From: Gustavo A. R. Silva
Date: Fri Mar 14 2025 - 04:34:10 EST
Same here, how about:
((struct ec_response_rtc *)msg->data)->time = param;
Yeah, let's go with that then :)
https://lore.kernel.org/linux-hardening/Z9PpPg06OK8ghNvm@kspp/
Thanks!
--
Gustavo