]> git.ipfire.org Git - thirdparty/linux.git/commit
eth: fbnic: make fbnic_fw_log_write() parameter const
authorJakub Kicinski <kuba@kernel.org>
Tue, 16 Sep 2025 23:14:12 +0000 (16:14 -0700)
committerPaolo Abeni <pabeni@redhat.com>
Thu, 18 Sep 2025 09:37:23 +0000 (11:37 +0200)
commite6c8ab0a11293ac44a2d5550cafaf775ccf64ea0
treed570071a87cfe1fc2c5c83c255ff41e978c779e6
parent18cfe3c1a121c275fb0a86dd7b0c049c6dd0a038
eth: fbnic: make fbnic_fw_log_write() parameter const

Make the log message parameter const, it's not modified
and this lets us pass in strings which are const for the caller.

Reviewed-by: Simon Horman <horms@kernel.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Link: https://patch.msgid.link/20250916231420.1693955-2-kuba@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
drivers/net/ethernet/meta/fbnic/fbnic_fw_log.c
drivers/net/ethernet/meta/fbnic/fbnic_fw_log.h