diff options
| author | Enji Cooper <ngie@FreeBSD.org> | 2026-07-21 16:08:44 +0000 |
|---|---|---|
| committer | Enji Cooper <ngie@FreeBSD.org> | 2026-07-24 22:45:34 +0000 |
| commit | a594783bac906ecc4f6528d7d576215f85a21bda (patch) | |
| tree | aa23f619f6526a359103f6e7a096730a8e266113 | |
| parent | 492cfbe9e2f831fff290e019dae66345146978bd (diff) | |
linux_firmware: reformat error print-out
This makes it easier to grep for the error message to better understand
the call stack when loading firmware modules fails.
Fix a cosmetic-only style(9) bug while here in the same function related
to another logging message.
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D58380
| -rw-r--r-- | sys/compat/linuxkpi/common/src/linux_firmware.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/compat/linuxkpi/common/src/linux_firmware.c b/sys/compat/linuxkpi/common/src/linux_firmware.c index 0c6d855501ef..0915b317c01e 100644 --- a/sys/compat/linuxkpi/common/src/linux_firmware.c +++ b/sys/compat/linuxkpi/common/src/linux_firmware.c @@ -131,12 +131,13 @@ _linuxkpi_request_firmware(const char *fw_name, const struct linuxkpi_firmware * *fw = NULL; } if (warn) - device_printf(dev->bsddev, "could not load firmware " - "image '%s'\n", fw_name); + device_printf(dev->bsddev, + "could not load firmware image '%s'\n", + fw_name); return (-ENOENT); } - device_printf(dev->bsddev,"successfully loaded firmware image '%s'\n", + device_printf(dev->bsddev, "successfully loaded firmware image '%s'\n", fw_name); lfw->fbdfw = fbdfw; lfw->data = (const uint8_t *)fbdfw->data; |
