Commit 844136e1 authored by Jakub Kicinski's avatar Jakub Kicinski Committed by Treehugger Robot
Browse files

UPSTREAM: tools: ynl-gen: allow uapi headers in sub-dirs



Binder places its headers under include/uapi/linux/android/
Make sure replace / with _ in the uAPI header guard, the c_upper()
is more strict and only converts - to _. This is likely a good
constraint to have, to enforce sane naming in enums etc.
But paths may include /.

Signed-off-by: default avatarLi Li <dualli@google.com>
Link: https://patch.msgid.link/20241113193239.2113577-2-dualli@chromium.org


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>

Bug: 372832477
(cherry picked from commit 62046564)
Change-Id: Ie379a9174d92f7ae14cd8400ac91a6d84e0aeac4
Signed-off-by: default avatarCarlos Llamas <cmllamas@google.com>
parent 8d4cae4b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment