Permalink
Browse files

+checkpatch

  • Loading branch information...
1 parent e2cc0c4 commit 9bef4ebb699797660531fde66ec745f39ae8a6b0 @makelinux committed Sep 26, 2012
Showing with 254 additions and 269 deletions.
  1. +7 −1 Makefile
  2. +166 −189 ctracer.h
  3. +27 −23 dio.c
  4. +4 −2 ldt-test
  5. +48 −52 ldt.c
  6. +1 −1 ldt_plat_dev.c
  7. +1 −1 ldt_plat_drv.c
View
@@ -1,5 +1,6 @@
#ccflags-y+=-Wfatal-errors
ccflags-y+=-include $M/ctracer.h
+ccflags-y+=-D DEBUG
ccflags-y+=-D CTRACER_ON
ccflags-y+=-D USE_PLATFORM_DEVICE
@@ -18,7 +19,7 @@ modules_install:
$(MAKE) -C $(KERNELDIR) M=$$PWD modules_install
clean:
- rm -rf *.o *~ core .depend .*.cmd *.ko *.mod.c .tmp_versions
+ rm -rf *.o *~ core .depend .*.cmd *.ko *.mod.c .tmp_versions modules.order
depend .depend dep:
$(CC) $(ccflags-y) -M *.c > .depend
@@ -29,3 +30,8 @@ dio: CPPFLAGS+= -D CTRACER_ON -include ctracer.h -g
ifeq (.depend,$(wildcard .depend))
include .depend
endif
+
+_src=dio.c ldt.c ldt_plat_dev.c ldt_plat_drv.c ctracer.h
+
+checkpatch:
+ checkpatch.pl --no-tree --show-types --ignore LONG_LINE,LINE_CONTINUATIONS --terse -f $(_src) Makefile
Oops, something went wrong.

0 comments on commit 9bef4eb

Please sign in to comment.