All of lore.kernel.org
 help / color / mirror / Atom feed
* uapi-header: doesn't update header include guard macros
@ 2023-09-15 16:41 Chuck Lever III
  2023-10-03 21:45 ` Jakub Kicinski
  0 siblings, 1 reply; 4+ messages in thread
From: Chuck Lever III @ 2023-09-15 16:41 UTC (permalink / raw)
  To: Jakub Kicinski; +Cc: open list:NETWORKING [GENERAL]

Hi Jakub-

This is a minor nit, but I have

name: xxxx
uapi-header: linux/xxxx_netlink.h

in my yaml spec, and the actual uapi file is named

include/uapi/linux/xxxx_netlink.h

but the generated include guard macros in that header still say:

#ifndef _UAPI_LINUX_XXXX_H
#define _UAPI_LINUX_XXXX_H

....

#endif /* _UAPI_LINUX_XXXX_H */

They should use _UAPI_LINUX_XXXX_NETLINK_H instead to avoid
colliding with a human-written include/uapi/linux/xxxx.h.

--
Chuck Lever



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-10-03 22:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-15 16:41 uapi-header: doesn't update header include guard macros Chuck Lever III
2023-10-03 21:45 ` Jakub Kicinski
2023-10-03 21:48   ` Jakub Kicinski
2023-10-03 22:47     ` Chuck Lever III

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.