]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "nfp: update nfp_X logging definitions"
authorSimon Horman <simon.horman@corigine.com>
Sun, 19 Jun 2022 08:15:30 +0000 (10:15 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 19 Jun 2022 10:28:01 +0000 (11:28 +0100)
commit6f337e45bb6c5569e7fad35fd42e2facfed3a477
tree89a53d90382233b008fe6a6d4716c81ee850641c
parent04414f9c9c42b165674e149b4d19c48416102e3f
Revert "nfp: update nfp_X logging definitions"

This reverts commit f889620d775b ("nfp: update nfp_X logging definitions")

The reverted patch was intended to improve logging for the NFP driver by
including information such as the source code file and number in log
messages.

Unfortunately our experience is that this has not improved things as
we had hoped. The resulting logs are inconsistent with (most) other
kernel log messages. And rely on knowledge of the source code version
in order for the extra information to be useful.

Thus, revert the change.

We acknowledge that Jakub Kicinski <kuba@kernel.org> foresaw this problem.

Signed-off-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/netronome/nfp/nfpcore/nfp_cpp.h