Skip to content

LLVMLinux: Patches to enable the kernel to be compiled with clang/LLVM

Behan Webster linux-fbdev linux-omap lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2arm, fbdev, omap2, LLVMLinux: Remove nested function from omap2 dssdrivers/video/fbdev/omap2/dss/dispc-compat.c drivers/video/fbdev/omap2/dss/manager-sysfs.c+14 -112 replies
2/2arm, fbdev, omap2, LLVMLinux: Remove nested function from omapfbdrivers/video/fbdev/omap2/omapfb/omapfb-main.c+7 -71 reply

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchFelipe Balbi
1/2R-b
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] LLVMLinux: Patches to enable the kernel to be compiled with clang/LLVM

Replace the use of nested functions where a normal function will suffice.

Nested functions are not liked by upstream kernel developers in general. Their use breaks the use of clang as a compiler, and doesn't make the code any better.

This code now works for both gcc and clang.

The LLVMLinux project aims to fully build the Linux kernel using both gcc and clang (the C front end for the LLVM compiler infrastructure project).

Behan Webster (2):
arm, fbdev, omap2, LLVMLinux: Remove nested function from omap2 dss arm, fbdev, omap2, LLVMLinux: Remove nested function from omapfb

 drivers/video/fbdev/omap2/dss/dispc-compat.c   |  9 +++++----
 drivers/video/fbdev/omap2/dss/manager-sysfs.c  | 16 +++++++++-------
 drivers/video/fbdev/omap2/omapfb/omapfb-main.c | 14 +++++++-------
 3 files changed, 21 insertions(+), 18 deletions(-)
Signature · 1 line
1.9.1