diff mbox

checkpatch: fix break by renaming README

Message ID 1469096154-16085-1-git-send-email-peterx@redhat.com
State New
Headers show

Commit Message

Peter Xu July 21, 2016, 10:15 a.m. UTC
Without this, we cannot run checkpatch.pl under QEMU root directory.

Signed-off-by: Peter Xu <peterx@redhat.com>
---
 scripts/checkpatch.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Eric Blake July 21, 2016, 2:37 p.m. UTC | #1
On 07/21/2016 04:15 AM, Peter Xu wrote:
> Without this, we cannot run checkpatch.pl under QEMU root directory.
> 
> Signed-off-by: Peter Xu <peterx@redhat.com>
> ---
>  scripts/checkpatch.pl | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

NACK; see
https://lists.gnu.org/archive/html/qemu-devel/2016-07/msg04850.html for
a more complete solution

> 
> diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
> index afa7f79..8247305 100755
> --- a/scripts/checkpatch.pl
> +++ b/scripts/checkpatch.pl
> @@ -286,7 +286,7 @@ sub top_of_kernel_tree {
>  
>  	my @tree_check = (
>  		"COPYING", "MAINTAINERS", "Makefile",
> -		"README", "docs", "VERSION",
> +		"README.md", "docs", "VERSION",
>  		"vl.c"
>  	);
>  
>
Peter Xu July 22, 2016, 3:26 a.m. UTC | #2
On Thu, Jul 21, 2016 at 08:37:01AM -0600, Eric Blake wrote:
> On 07/21/2016 04:15 AM, Peter Xu wrote:
> > Without this, we cannot run checkpatch.pl under QEMU root directory.
> > 
> > Signed-off-by: Peter Xu <peterx@redhat.com>
> > ---
> >  scripts/checkpatch.pl | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> NACK; see
> https://lists.gnu.org/archive/html/qemu-devel/2016-07/msg04850.html for
> a more complete solution

Yeah it's already reverted and it's working in master. Thanks for the
pointer. :)

-- peterx
diff mbox

Patch

diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index afa7f79..8247305 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -286,7 +286,7 @@  sub top_of_kernel_tree {
 
 	my @tree_check = (
 		"COPYING", "MAINTAINERS", "Makefile",
-		"README", "docs", "VERSION",
+		"README.md", "docs", "VERSION",
 		"vl.c"
 	);