staging: pi433: add index value to write dev_dbg statement
authorPaulo Miguel Almeida <paulo.miguel.almeida.rodenas@gmail.com>
Fri, 25 Feb 2022 08:03:17 +0000 (21:03 +1300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 25 Feb 2022 09:09:02 +0000 (10:09 +0100)
commit91c9ba35bb0695279c6924ef7e364196ce59a7c6
tree451548262516960475b93a1844b83082189e2765
parent57078a3c2e24fcc1ee8b7d44b69d27dba41c6598
staging: pi433: add index value to write dev_dbg statement

Add index value to the string that will be printed by dev_dbg for better
easier visualisation when debugging. For instance, if I have a big
message payload that will inevitably get split into chunks, it would be
a hassle trying to debug if the offset of the original payload that got
sent at that time.

This patch adds index value to write dev_dbg statement.

Signed-off-by: Paulo Miguel Almeida <paulo.miguel.almeida.rodenas@gmail.com>
Link: https://lore.kernel.org/r/YhiNRSi7jijxJWCL@mail.google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/pi433/rf69.c