Re: checkpatch.pl script is throwing errors for the code I have not written.

Julia Lawall <[email protected]>
Newsgroups dev.linux.lists.outreachy
Message-ID <[email protected]>

On Mon, 1 Apr 2024, Saasha Gupta wrote:

> Dear maintainers of the outreachy team,
>
> I have made a patch for this issue. I am able to create the patch with
> `git format-patch`.
>
> However, when I check my patch for errors using the checkpatch.pl
> script, it throws errors for the code I have not written. What should
> I do?

If you are proposing a change, you should only ensure that checkpatch is
respected by your change.  If doing that will make the code look horribly
inconsistent, you could consider making a patch series that first cleans
up everything and then another patch that makes your change.

julia

>
> Sincerely,
> Saasha
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.