]> git.ipfire.org Git - thirdparty/linux.git/commit
scsi: mvsas: Don't emit __LINE__ in debug messages
authorUwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Mon, 27 Apr 2026 17:45:46 +0000 (19:45 +0200)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 15 May 2026 02:04:50 +0000 (22:04 -0400)
commit2cc8a6cf8a801065b68550d5af33f62999ce15f0
tree3e9501aa7a1fd05e5df093375b3b404954440815
parent250ba648f42d571e08e0bd95fa32953e7577001d
scsi: mvsas: Don't emit __LINE__ in debug messages

__LINE__ changes quite easily for cleanup commits. So when checking if a
cleanup patch introduces changes to the resulting binary each usage of
__LINE__ is source of annoyance.

So instead of __FILE__ and __LINE__ emit __func__ to give at least some
more indication about where the messages originates from than __FILE__
alone; with that and the actual message the situation should be clear
enough.

While at it reduce duplication by implementing mv_dprintk() using
mv_printk().

Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Link: https://patch.msgid.link/20260427174545.2014499-2-u.kleine-koenig@baylibre.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/mvsas/mv_sas.h