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=-0.8 required=3.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI,SPF_PASS, URIBL_BLOCKED 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 B058BC04A6B for ; Sun, 12 May 2019 06:15:59 +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 402362133D for ; Sun, 12 May 2019 06:15:59 +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="JDQoh8ut" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 402362133D 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 1hPhlr-0007pp-UB; Sun, 12 May 2019 02:15:39 -0400 Received: from mail-oi1-x22a.google.com ([2607:f8b0:4864:20::22a]) by shelob.surriel.com with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1hPhlq-0007pi-3a for kernelnewbies@kernelnewbies.org; Sun, 12 May 2019 02:15:38 -0400 Received: by mail-oi1-x22a.google.com with SMTP id l203so7238100oia.3 for ; Sat, 11 May 2019 23:15:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=+QVzDIWh5lWelnlN3BhhAZcMh1obd5DUKV4EOpmKIC8=; b=JDQoh8utAMLFVG+xpnDmSB7pLcLmYH9dlNy8wJT5HnNRSi5l6YcpZiort1w0HzHf4o +SlCLKmJmMj5Psp1qkj7OY+4amTjI04qnIs3ySlL0AKsOoJGNzglD+SQywhUpKjKV/1Y 8Lj2CEcz3m8b3s75NdZkkw0Y+oIBF2dsdkZECp0vMaxSn8Y1EQecfhBV/vpOaguaJzMJ nQFIhqXnedTfR/RKDUyodzel/sObTOSN5yG1N/SP5lKUXtAyLhsVC5RBvpeMxBJraxuw OTN5jFL5tuzAe/0shwiTwVsQ44AfQY5XIHhJdlQTmFnmgaSyPy9d7RD1ucluxtjr+lyV rPlw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=+QVzDIWh5lWelnlN3BhhAZcMh1obd5DUKV4EOpmKIC8=; b=DIkRBj11s1e4a2W264R9UFKgJPRG7kGhaTPaWVsHnIFhTZsJIDaBf48bGEvPbZapZt IdeTzpbp1ZB6fBEFzXVNid6fR5oa7bPjJqSVEudbupFZw6Ga8JOBrtZIUZzFyquIrIyI bbwdL90nvK4rgXwZwEzDxNJHZeKxDBCYcxfQxEKE46cgPK3EaEVLciq3zwh/O+1IeG1p u0nIxw7ihWd3Gy0QZQHCxtEAI3j5akD/oYAkWUP7CjTIjUlBw/uJORLjSR5RApLXfZ78 8eT7SIzDc+vxEJ72j6OGLkzKDuwPWszZBSR0fU24NPI3Ra5TyfP9O2X1sPQC7KNFXdy8 wCWw== X-Gm-Message-State: APjAAAVbL8Ra9pibkZ2gG2viRALXCSEFdzblbgsdT8zdQUMykpWZZx6o D9DzZNZmo89Vf9mf+oIio4WTCUXz6u8oYQQPd9G1XgwtDFu81A== X-Google-Smtp-Source: APXvYqyRocI0up0D/sJBW+t4frmip48Xiq0FZdlKz7mNN78C7SLG7lrYObFcc476pmhL6BMwm1bXMpQka2RIVQgR+nM= X-Received: by 2002:aca:df55:: with SMTP id w82mr10177477oig.113.1557641735771; Sat, 11 May 2019 23:15:35 -0700 (PDT) MIME-Version: 1.0 From: Deepak Mishra Date: Sun, 12 May 2019 11:45:24 +0530 Message-ID: Subject: Checkpatch.pl FAIL: "Blob or Tree named 'other' not found" To: 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="===============4990687198410280896==" Errors-To: kernelnewbies-bounces@kernelnewbies.org --===============4990687198410280896== Content-Type: multipart/alternative; boundary="000000000000591c490588aabaee" --000000000000591c490588aabaee Content-Type: text/plain; charset="UTF-8" Hi all, I am trying to run checkpatch.pl on latest kernel version 5.1.0 source tree from orig head 80f232121b69cc69a31ccb2b38c1665d770b0710 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 actually 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 ------------------------------------ FAIL: "Blob or Tree named 'other' not found" Traceback (most recent call last): File "scripts/spdxcheck.py", line 240, in spdx = read_spdxdata(repo) File "scripts/spdxcheck.py", line 41, in read_spdxdata for el in lictree[d].traverse(): File "/usr/lib/python2.7/dist-packages/git/objects/tree.py", line 298, in __getitem__ return self.join(item) File "/usr/lib/python2.7/dist-packages/git/objects/tree.py", line 244, in join raise KeyError(msg % file) KeyError: "Blob or Tree named 'other' not found" total: 0 errors, 0 warnings, 0 checks, 56 lines checked Please suggest me. Best Regards Mishradk --000000000000591c490588aabaee Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi all,
I am trying to run checkpatch.pl on latest kernel version 5.1.0 source tre= e from orig head 80f232121b69cc69a31ccb2b38c1665d770b0710

When I run check= patch.pl, for every file I get the follwong or similar error. Could you= please help if this is my environment issue or actually error in code whic= h I need to fix ?

I executed the following in comm= and prompt.
perl scripts/checkpatch.pl -f drivers/staging/rtl8712/* |less
<= div>
The error I observe=C2=A0
drivers/staging= /rtl8712/rtl871x_rf.h
------------------------------------
<= div>FAIL: "Blob or Tree named 'other' not found"
Traceback (most recent call last):
=C2=A0 File "scripts/sp= dxcheck.py", line 240, in <module>
=C2=A0 =C2=A0 spdx = =3D read_spdxdata(repo)
=C2=A0 File "scripts/spdxcheck.py&qu= ot;, line 41, in read_spdxdata
=C2=A0 =C2=A0 for el in lictree[d]= .traverse():
=C2=A0 File "/usr/lib/python2.7/dist-packages/g= it/objects/tree.py", line 298, in __getitem__
=C2=A0 =C2=A0 = return self.join(item)
=C2=A0 File "/usr/lib/python2.7/dist-= packages/git/objects/tree.py", line 244, in join
=C2=A0 =C2= =A0 raise KeyError(msg % file)
KeyError: "Blob or Tree named= 'other' not found"

total: 0 errors, = 0 warnings, 0 checks, 56 lines checked

Pleas= e suggest me.

Best Regards
Mishradk

--000000000000591c490588aabaee-- --===============4990687198410280896== 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 --===============4990687198410280896==--