[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1411780253-4492-1-git-send-email-behanw@converseincode.com>
Date: Fri, 26 Sep 2014 18:10:51 -0700
From: Behan Webster <behanw@...verseincode.com>
To: plagnioj@...osoft.com, tomi.valkeinen@...com
Cc: behanw@...verseincode.com, archit@...com, daniel.vetter@...ll.ch,
geert@...ux-m68k.org, laurent.pinchart@...asonboard.com,
linux-fbdev@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-omap@...r.kernel.org, robdclark@...il.com
Subject: [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(-)
--
1.9.1
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists