Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
recog_arm.c: In function 'cpuid_identify_arm': recog_arm.c:2548:9: warning: 'strncpy' specified bound 16 equals destination size [-Wstringop-truncation] 2548 | strncpy(data->vendor_str, hw_impl->name, VENDOR_STR_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ recog_arm.c:2549:9: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 2549 | strncpy(data->brand_str, id_part->name, BRAND_STR_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ recog_arm.c:2550:9: warning: 'strncpy' specified bound 64 equals destination size [-Wstringop-truncation] 2550 | strncpy(data->cpu_codename, id_part->codename, CODENAME_STR_MAX);
- Loading branch information