Message ID | 20240710165459.26813-1-rahul@sandhuservices.dev |
---|---|
State | New |
Headers | show |
Series | [BlueZ] tools/hex2hcd: fix musl compatibility | expand |
This is an automated email and please do not reply to this email. Dear Submitter, Thank you for submitting the patches to the linux bluetooth mailing list. While preparing the CI tests, the patches you submitted couldn't be applied to the current HEAD of the repository. ----- Output ----- error: patch failed: tools/hex2hcd.c:285 error: tools/hex2hcd.c: patch does not apply hint: Use 'git am --show-current-patch' to see the failed patch Please resolve the issue and submit the patches again. --- Regards, Linux Bluetooth
Hello, I made a mistake generating the V2 patch. Sincere apologies. Please disregard this thread. I will generate V3 shortly.
diff --git a/tools/hex2hcd.c b/tools/hex2hcd.c index 42c95b759..28f0e8be2 100644 --- a/tools/hex2hcd.c +++ b/tools/hex2hcd.c @@ -285,9 +285,11 @@ static void ver_parse_file(const char *pathname) prev->next = ver; } -static const char *helper_basename(const char *path) { - const char *base = strrchr(path, '/'); - return base ? base + 1 : path; +static const char *helper_basename(const char *path) +{ + const char *base = strrchr(path, '/'); + + return base ? base + 1 : path; } static void ver_parse_entry(const char *pathname)