Thread (22 messages) 22 messages, 3 authors, 19d ago

Re: [PATCH net-next 3/6] pds_core: add PLDM firmware update support via devlink flash

From: Jakub Kicinski <kuba@kernel.org>
Date: 2026-05-01 01:05:22
Also in: linux-hardening, lkml

On Wed, 29 Apr 2026 08:28:19 +0000 Nikhil P. Rao wrote:
+#define PDS_CORE_FW_COMPONENT_LIST_LEN	((PDS_PAGE_SIZE - \
+		sizeof(struct pds_core_component_list_info)) / \
+		sizeof(struct pds_core_fw_component_info))
+
+#if defined(__has_attribute) && !__has_attribute(__counted_by__)
+#define __counted_by(member)
+#endif
Please don't redefined kernel-level primitives.
It's a huge pain in the rear to deal with when indexing the code.

This patch also adds a bunch of kdoc warnings.

Last but not least Sashiko points out a number of bugs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help