[PATCH v2] commands: hwclock: rework argument handling

Sascha Hauer s.hauer at pengutronix.de
Tue Mar 25 06:46:30 PDT 2025


On Tue, 25 Mar 2025 12:52:26 +0100, Jules Maselbas wrote:
> The rtc_name doesn't need to be an array, thus the argument doesn't
> have to be copied, we can simply use a pointer on optarg.
> Drop the array and the string copy.
> 
> 

Applied, thanks!

[1/1] commands: hwclock: rework argument handling
      https://git.pengutronix.de/cgit/barebox/commit/?id=8c796cc0e810 (link may not be stable)

Best regards,
-- 
Sascha Hauer <s.hauer at pengutronix.de>




More information about the barebox mailing list