diff options
author | Rasmus Villemoes <rasmus.villemoes@prevas.dk> | 2024-05-21 10:46:50 +0200 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2024-06-16 12:13:38 +0200 |
commit | 3a11eada38efbbe1517662d196d11c2e20d2b5ca (patch) | |
tree | 76cd5910133c54834d15562e0addeda1cf969e02 /drivers/ddr/altera/sdram_agilex.c | |
parent | 0786dd573d0793417852e009dee3148ebdd163f3 (diff) |
cyclic: stop strdup'ing name in cyclic_register()
We are not checking the return value of strdup(), nor
freeing the string in cyclic_unregister().
However, all current users either pass a string literal or the
dev->name of the client device. So in all cases the name string will
live at least as long as the cyclic_info is registered, so just make
that a requirement.
Reviewed-by: Stefan Roese <sr@denx.de>
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Diffstat (limited to 'drivers/ddr/altera/sdram_agilex.c')
0 files changed, 0 insertions, 0 deletions