Skip to contentSkip to conversation

checkpatch.pl --file gives wierd warning

DISCUSSION Greg KH 2 participants 3 messages Feb 12, 2009

lore
Share & tools
lore

Greg KH

author
#0 lore raw

Hi Andy,

With Linus's tree I get the following wierd warning when using the --file option on checkpatch.pl:

	$ ./scripts/checkpatch.pl --file drivers/staging/phison/phison.c
	WARNING: patch prefix 'drivers' exists, appears to be a -p0 patch

I'm guessing that this isn't intentional :)

Any ideas?

thanks,

greg k-h

#1 lore raw
Quoted 10 lines · Greg KH

Hi Andy,

With Linus's tree I get the following wierd warning when using the --file option on checkpatch.pl:

	$ ./scripts/checkpatch.pl --file drivers/staging/phison/phison.c
	WARNING: patch prefix 'drivers' exists, appears to be a -p0 patch

I'm guessing that this isn't intentional :)

Any ideas?

heh yeah, thats fixed in my tree. I should check the last couple of days testing and push those.

-apw

author
#2 lore raw
Quoted 8 lines · Andy Whitcroft
Quoted 7 lines · Greg KH

Hi Andy,

With Linus's tree I get the following wierd warning when using the --file option on checkpatch.pl:

	$ ./scripts/checkpatch.pl --file drivers/staging/phison/phison.c
	WARNING: patch prefix 'drivers' exists, appears to be a -p0 patch
Quoted 6 lines
Quoted 3 lines

I'm guessing that this isn't intentional :)

Any ideas?

heh yeah, thats fixed in my tree. I should check the last couple of days testing and push those.

Ok, thanks, just wanted to make sure you knew about it.

greg k-h