Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lk2nd: boot: extlinux: Fix calloc warning
lk2nd/boot/extlinux.c: In function 'parse_conf': lk2nd/boot/extlinux.c:216:67: warning: 'calloc' sizes specified with 'sizeof' in the earlier argument and not in the later argument [-Wcalloc-transposed-args] 216 | label->dtboverlays = calloc(sizeof(*label->dtboverlays), cnt); | ^ lk2nd/boot/extlinux.c:216:67: note: earlier argument should specify number of elements, later size of each element
- Loading branch information