rtl_nic: update firmware of RTL8156B
PATCH 1/1 rtl_nic: update firmware of RTL8156B
rtl8156b-2.fw
version: rtl8156b-2 v3 10/20/23
--- rtl_nic/rtl8156b-2.fw | Bin 7256 -> 5776 bytes 1 file changed, 0 insertions(+), 0 deletions(-)
rtl_nic/rtl8156b-2.fw binary +0 -0
Signature · 1 line
2.41.0
Quoted 5 lines · Hayes Wang
rtl8156b-2.fw
version: rtl8156b-2 v3 10/20/23Signed-off-by Hayes Wang <[email protected]>---
Your patch failed to apply. Please try again. Binary patches and email can sometimes be problematic.
$ b4 am http://lore.kernel.org/linux-firmware/[email protected]/ Analyzing 1 messages in the thread Checking attestation on all messages, may take a moment... --- [PATCH] rtl_nic: update firmware of RTL8156B --- Total patches: 1 --- Link: https://lore.kernel.org/r/[email protected] Base: applies clean to current tree git checkout -b 20231020_hayeswang_realtek_com HEAD git am ./20231020_hayeswang_rtl_nic_update_firmware_of_rtl8156b.mbx $ git am 20231020_hayeswang_rtl_nic_update_firmware_of_rtl8156b.mbx Applying: rtl_nic: update firmware of RTL8156B error: corrupt binary patch at line 153: -- error: unrecognized input Patch failed at 0001 rtl_nic: update firmware of RTL8156B hint: Use 'git am --show-current-patch=diff' to see the failed patch When you have resolved this problem, run "git am --continue". If you prefer to skip this patch, run "git am --skip" instead. To restore the original branch and stop patching, run "git am --abort".
You can also send it as a merge request here:
Quoted 10 lines · Mario Limonciello
Quoted 5 lines · Hayes Wang
rtl8156b-2.fw
version: rtl8156b-2 v3 10/20/23Signed-off-by Hayes Wang <[email protected]>---
Your patch failed to apply. Please try again. Binary patches and email can sometimes be problematic.
FWIW, this worked for me:
$ curl -o firmware.patch https://lore.kernel.org/all/[email protected]/raw $ git am firmware.patch
Comparing that patch with the one b4 generates, it seems b4 is removing the newline between the last line of the original patch (the one ending with "r;") and the two dashes ("--") before the git version. Adding that missing newline causes git am 20231020_hayeswang_rtl_nic_update_firmware_of_rtl8156b.mbx to succeed. Perhaps this is a bug in b4?
Regards,
Forest