lkml.org 
[lkml]   [2016]   [Jan]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: How to get the coccicheck error from patch
Nicolas,

When I run the commands coccicheck for the file with of_table.cocci, it
reports error as:

spatch --sp-file ./scripts/coccinelle/misc/of_table.cocci
drivers/rtc/rtc-max77xxx.c --o tmp.cinit_defs_builtins:
/usr/share/coccinelle/standard.h
Fatal error: exception Failure("unexpected struct/union type name")

ldewangan@ldewanganubuntu-System-Product-Name:~/upstream/linux-next/linux-next$
spatch -D report --very-quiet --no-show-diff --cocci-file
./scripts/coccinelle/misc/of_table.cocci drivers/rtc/rtc-max77xxx.c

Fatal error: exception Failure("unexpected struct/union type name")


Is there any issue in these commands? Other commands work fine.

Before running commands, I did make
make coccicheck MODE=report



On Monday 11 January 2016 06:26 PM, Julia Lawall wrote:
> You could also write to the mailing list. Someone else might know.
> Actually, I never use make coccicheck...
>
> julia

\
 
 \ /
  Last update: 2016-01-12 15:41    [W:0.049 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site