From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 83EF5C04A6B for ; Sun, 12 May 2019 08:16:06 +0000 (UTC) Received: from shelob.surriel.com (shelob.surriel.com [96.67.55.147]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 399A621019 for ; Sun, 12 May 2019 08:16:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="YwtFy4RC" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 399A621019 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=fail smtp.mailfrom=kernelnewbies-bounces@kernelnewbies.org Received: from localhost ([::1] helo=shelob.surriel.com) by shelob.surriel.com with esmtp (Exim 4.91) (envelope-from ) id 1hPjeD-0000f9-5G; Sun, 12 May 2019 04:15:53 -0400 Received: from mail-oi1-x241.google.com ([2607:f8b0:4864:20::241]) by shelob.surriel.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1hPjeA-0000f3-Fz for kernelnewbies@kernelnewbies.org; Sun, 12 May 2019 04:15:50 -0400 Received: by mail-oi1-x241.google.com with SMTP id t187so3975474oie.10 for ; Sun, 12 May 2019 01:15:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=lI2QUwX2masJwwW4RBG4oFuxQhuKigfSperYxbRxxbI=; b=YwtFy4RC+KbYhEVkRDJeW4H3Ewtv8MRotjFx+Iydgqu4I+aTYGfpSzEZSR+yEEZupq moMITmid1k+5vX8CbZi0nh8Ub8s0V5ifWkaP1TiBMAHYUos7JrUgWaIY+Tp8GdHVpFH2 6nzvtVknJoXq2wb7BIrc5oO+9j401uj5Eo77Y8fHIQ7y+380EP36sYbVU9YOEV52iVq/ ZlvgWtuy793/tiLNh0SyU2syZutdOYOj5ecT7X5ABTwtR5tJDjltFf32rNj2r7VU0Hr+ ODMxs4lqdGoss7BGJBPgm3CmxPz7MVrg1OIWNufU8sEBczUaC4P4W2Gji1QPAC537H77 3bVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=lI2QUwX2masJwwW4RBG4oFuxQhuKigfSperYxbRxxbI=; b=kWv/39yxuX0+oxfGl38mS0rhVxZXmB1uMXf1S8EkLN7cj3gqwkZVBM713Awj7oNS2I UX/+am7LxSF2JW9de634h3HXU6QRjN6S0bpnTxuXRTrcqL/c55Y2AxMOkk4/eCazkkMT na+7NL9MSqplslkDsAyjGsiaqwzaGyAoywTyiFbyVf82gsVW1tBQzjMGCBucv7P70ngy ya8g/Bh+QPBIPJIYrERurvnFra9o+wizkyRdHgryXtwOgGJs9kopcQvnpAAsfx8SDzVs DrDR4V4obItHVPYaNhKjcRNrGkxEYWaPOBEf8smCORtRCib40xm7qnxnz3hfXcQYn/vF QoPQ== X-Gm-Message-State: APjAAAWvA/18plDKzrH0sq6zVxH32rDaWuXuj1GNiFM31X+sbJQMBIc2 cA41K9rEEqfHLio6ftIrRntkzB3mtKoTb9TO4C4= X-Google-Smtp-Source: APXvYqwx9LVn8yCUgpCtnFjaWd+Tzb+W8UWsBkHQ4tq+ydkgqy4NCs3SGzRXxw4dAb4lROMBNLO1fZIFq+sMMPjqcUw= X-Received: by 2002:aca:cd82:: with SMTP id d124mr9781730oig.122.1557648948775; Sun, 12 May 2019 01:15:48 -0700 (PDT) MIME-Version: 1.0 References: <2090.1557646915@turing-police> In-Reply-To: <2090.1557646915@turing-police> From: Deepak Mishra Date: Sun, 12 May 2019 13:45:37 +0530 Message-ID: Subject: Re: Checkpatch.pl FAIL: "Blob or Tree named 'other' not found" To: =?UTF-8?Q?Valdis_Kl=C4=93tnieks?= Cc: kernelnewbies@kernelnewbies.org X-BeenThere: kernelnewbies@kernelnewbies.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: Learn about the Linux kernel List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============2342848262440996565==" Errors-To: kernelnewbies-bounces@kernelnewbies.org --===============2342848262440996565== Content-Type: multipart/alternative; boundary="00000000000046cec70588ac6838" --00000000000046cec70588ac6838 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Thanks Valdis, After applying the patch, I verified in my environment and the patch has fixed the issue. Best Regards MishraDk On Sun, May 12, 2019 at 1:12 PM Valdis Kl=C4=93tnieks wrote: > On Sun, 12 May 2019 11:45:24 +0530, Deepak Mishra said: > > > When I run checkpatch.pl, for every file I get the follwong or similar > > error. Could you please help if this is my environment issue or actuall= y > > error in code which I need to fix ? > > > > I executed the following in command prompt. > > perl scripts/checkpatch.pl -f drivers/staging/rtl8712/* |less > > > > The error I observe > > drivers/staging/rtl8712/rtl871x_rf.h > > Found the problem, patch submitted. It's a one-line fix: > > diff --git a/scripts/spdxcheck.py b/scripts/spdxcheck.py > index 4fe392e507fb..7abd5f5cb14d 100755 > --- a/scripts/spdxcheck.py > +++ b/scripts/spdxcheck.py > @@ -32,7 +32,7 @@ import os > def read_spdxdata(repo): > > # The subdirectories of LICENSES in the kernel source > - license_dirs =3D [ "preferred", "other", "exceptions" ] > + license_dirs =3D [ "preferred", "dual", "deprecated", "exceptions" ] > lictree =3D repo.head.commit.tree['LICENSES'] > > > > > --00000000000046cec70588ac6838 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thanks=C2=A0Valdis,
After applying the patch, I verifi= ed in my environment and the patch has fixed the issue.=C2=A0
Best Regards
MishraDk

On Sun, May 12, 2019 at 1:= 12 PM Valdis Kl=C4=93tnieks <= valdis.kletnieks@vt.edu> wrote:
On Sun, 12 May 2019 11:45:24 +0530, Deepak Mishra sa= id:

> When I run checkpatch.pl, for every file I get the follwong or similar=
> error. Could you please help if this is my environment issue or actual= ly
> error in code which I need to fix ?
>
> I executed the following in command prompt.
> perl scripts/checkpatch.pl -f drivers/staging/rtl8712/* |less
>
> The error I observe
> drivers/staging/rtl8712/rtl871x_rf.h

Found the problem, patch submitted.=C2=A0 It's a one-line fix:

diff --git a/scripts/spdxcheck.py b/scripts/spdxcheck.py
index 4fe392e507fb..7abd5f5cb14d 100755
--- a/scripts/spdxcheck.py
+++ b/scripts/spdxcheck.py
@@ -32,7 +32,7 @@ import os
=C2=A0def read_spdxdata(repo):

=C2=A0 =C2=A0 =C2=A0# The subdirectories of LICENSES in the kernel source -=C2=A0 =C2=A0 license_dirs =3D [ "preferred", "other",= "exceptions" ]
+=C2=A0 =C2=A0 license_dirs =3D [ "preferred", "dual", = "deprecated", "exceptions" ]
=C2=A0 =C2=A0 =C2=A0lictree =3D repo.head.commit.tree['LICENSES']



--00000000000046cec70588ac6838-- --===============2342848262440996565== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies --===============2342848262440996565==--