mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-01-11 09:00:12 +00:00
wifi: mt76: Remove blank line after mt792x firmware version dmesg
An extra blank line gets printed after printing firmware version because the build date is null terminated. Remove the "\n" from dev_info() calls to print firmware version and build date to fix the problem. Reported-by: Mario Limonciello <superm1@gmail.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
af7809f037
commit
b69053dd3f
@ -3019,7 +3019,7 @@ int mt76_connac2_load_ram(struct mt76_dev *dev, const char *fw_wm,
|
||||
}
|
||||
|
||||
hdr = (const void *)(fw->data + fw->size - sizeof(*hdr));
|
||||
dev_info(dev->dev, "WM Firmware Version: %.10s, Build Time: %.15s\n",
|
||||
dev_info(dev->dev, "WM Firmware Version: %.10s, Build Time: %.15s",
|
||||
hdr->fw_ver, hdr->build_date);
|
||||
|
||||
ret = mt76_connac_mcu_send_ram_firmware(dev, hdr, fw->data, false);
|
||||
@ -3048,7 +3048,7 @@ int mt76_connac2_load_ram(struct mt76_dev *dev, const char *fw_wm,
|
||||
}
|
||||
|
||||
hdr = (const void *)(fw->data + fw->size - sizeof(*hdr));
|
||||
dev_info(dev->dev, "WA Firmware Version: %.10s, Build Time: %.15s\n",
|
||||
dev_info(dev->dev, "WA Firmware Version: %.10s, Build Time: %.15s",
|
||||
hdr->fw_ver, hdr->build_date);
|
||||
|
||||
ret = mt76_connac_mcu_send_ram_firmware(dev, hdr, fw->data, true);
|
||||
@ -3124,7 +3124,7 @@ int mt76_connac2_load_patch(struct mt76_dev *dev, const char *fw_name)
|
||||
}
|
||||
|
||||
hdr = (const void *)fw->data;
|
||||
dev_info(dev->dev, "HW/SW Version: 0x%x, Build Time: %.16s\n",
|
||||
dev_info(dev->dev, "HW/SW Version: 0x%x, Build Time: %.16s",
|
||||
be32_to_cpu(hdr->hw_sw_ver), hdr->build_date);
|
||||
|
||||
for (i = 0; i < be32_to_cpu(hdr->desc.n_region); i++) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user