]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
smb: smbdirect: introduce SMBDIRECT_DEBUG_ERR_PTR() helper
authorStefan Metzmacher <metze@samba.org>
Tue, 25 Nov 2025 08:55:54 +0000 (09:55 +0100)
committerSteve French <stfrench@microsoft.com>
Mon, 1 Dec 2025 03:11:45 +0000 (21:11 -0600)
commit1f3fd108c5c5a9885c6c276a2489c49b60a6b90d
treeb3f381dfc580ee24fde2b5595a7323b475a5cfba
parent991f8a79db99b14c48d20d2052c82d65b9186cad
smb: smbdirect: introduce SMBDIRECT_DEBUG_ERR_PTR() helper

This can be used like this:

  int err = somefunc();
  pr_warn("err=%1pe\n", SMBDIRECT_DEBUG_ERR_PTR(err));

This will be used in the following fixes in order
to be prepared to identify real world problems
more easily.

Cc: Steve French <smfrench@gmail.com>
Cc: Tom Talpey <tom@talpey.com>
Cc: Long Li <longli@microsoft.com>
Cc: Namjae Jeon <linkinjeon@kernel.org>
Cc: Paulo Alcantara <pc@manguebit.org>
Cc: linux-cifs@vger.kernel.org
Cc: samba-technical@lists.samba.org
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Acked-by: Namjae Jeon <linkinjeon@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/common/smbdirect/smbdirect_socket.h