lkml.org 
[lkml]   [2021]   [Nov]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectcheckpatch warns a symbolic link has not a newline
Date
Hi Andy & Joe,

I have a commit that contains a newly created symbolic link pointing to a certain file. I used ./scripts/checkpatch.pl to check this commit and then I got a WARNING: adding a line without newline at end of file. The symbolic link was created by ln -s.

I'm confused why it returned such a warning. Is the content of the patch not allowed to contain symbolic links? If it is allowed, I think checkpatch.pl can make some improvements, so that symbolic links will not be treated a warnings because of missing newline at end of file.

Best Regards,
Michael Wu
\
 
 \ /
  Last update: 2021-11-10 07:51    [W:0.042 / U:0.648 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site