Re: [PATCH v23 net-next 04/12] net/nebula-matrix: add channel layer

From
Jakub Kicinski <kuba@kernel.org>
Date
2026-08-06 01:43:57
Also in
linux-doc, lkml
Reply to
illusion.wang, 2026-07-31
On Fri, 31 Jul 2026 17:42:27 +0800 illusion.wang wrote:
quoted hunk ↗ jump to hunk
+#define NBL_OPS_CALL(func, para)		\
+do {						\
+	typeof(func) _func = (func);		\
+	if (_func)				\
+		_func para;			\
+} while (0)
Just spotted in the compiler warning -- this macro is definitely not
going to make it upstream. The C coding style of this driver is very
much below the upstream bar, please try to get this reviewed by someone
with upstream experience, or taste, or both.
Thread (16 messages) 16 messages, 2 authors, last reply 2026-08-06
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help