From patchwork Thu Jun 10 21:44:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tom Rix X-Patchwork-Id: 12314117 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=-13.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable 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 06221C48BD1 for ; Thu, 10 Jun 2021 21:45:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E33FD613E9 for ; Thu, 10 Jun 2021 21:45:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231196AbhFJVrO (ORCPT ); Thu, 10 Jun 2021 17:47:14 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:51632 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231148AbhFJVrK (ORCPT ); Thu, 10 Jun 2021 17:47:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1623361510; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=guTfU4e8GDRqzy/1ajS1PObKT8FQPjuFX79A5J7ymwU=; b=ccp5ZMfpWqhUHbA4RgIS+5tl5VxnJUDLXM5OVwuVsS7SXXGv3179zlWJjYzT8fSiJfulVW yEJPfqEcGXn5KlVJ0awflg1ho2LlOVQhf9mds1G9eUGo8qkpoqT5HHrLidtBb3RHoTS109 qLfZa4n/NBXXc4HfmeKhSoirm/BPUE0= Received: from mail-oi1-f200.google.com (mail-oi1-f200.google.com [209.85.167.200]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-596-RM5oKQh8O12FAGdUL5tVAw-1; Thu, 10 Jun 2021 17:45:09 -0400 X-MC-Unique: RM5oKQh8O12FAGdUL5tVAw-1 Received: by mail-oi1-f200.google.com with SMTP id w12-20020aca490c0000b02901f1fdc1435aso1886981oia.14 for ; Thu, 10 Jun 2021 14:45:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=guTfU4e8GDRqzy/1ajS1PObKT8FQPjuFX79A5J7ymwU=; b=JSs0WfZX3PAbdm1tGwC9hrYBZ4s0SO4GcZiDCmQRbg/CKXTFox7lf11GbtKZjfc2Pf QUInL+hYSXM48xJhNf4fRnpH5qvmsV3tvMS7O3ekQZFcuw26kuPRmXFaaRyIfFookrgL Dm/bb/ofDiFMVs2rxx+O3G8PKNld8uqsMz00uuRy830WGnawEklZ+1p1AxWjEItD4zhn IGnUpHZxvnFZYmfFupTD8xUxZ+TlgdaV4gLX4OpKv7FqQm1V+pjzNDgYjmzNqCjNu27G msX7gjLaNWoRbNlnDNCEeSOVSg4xAplx+Rzs0F10KKMVSfYJBTod7izI+SwozPvEbjQh EiqA== X-Gm-Message-State: AOAM532gmdHAcuipmKvqlh+Xm5m6ZNLOyR0OFGEN0RJAdzPYYl2Ha/Oc DoPls1KtddTXgbY7saYaowBqyccelcaYQQMZ0ONRxbcyoWmk1Vn33zIlq4/wqPUIp0rNUAdvNA2 6+kS8Z/XuHcbhIBt7 X-Received: by 2002:a9d:17d0:: with SMTP id j74mr386209otj.92.1623361509077; Thu, 10 Jun 2021 14:45:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyjBwKjRTZldk72q+UJkwklQ0sAnXANOb5b/9su/9MNUdqJcH0ISmXgySFJudebSgHFMzWVdQ== X-Received: by 2002:a9d:17d0:: with SMTP id j74mr386187otj.92.1623361508840; Thu, 10 Jun 2021 14:45:08 -0700 (PDT) Received: from localhost.localdomain.com (075-142-250-213.res.spectrum.com. [75.142.250.213]) by smtp.gmail.com with ESMTPSA id i15sm881839ots.39.2021.06.10.14.45.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Jun 2021 14:45:08 -0700 (PDT) From: trix@redhat.com To: robh+dt@kernel.org, tsbogend@alpha.franken.de, jic23@kernel.org, lars@metafoo.de, tomas.winkler@intel.com, arnd@arndb.de, gregkh@linuxfoundation.org, nbd@nbd.name, lorenzo.bianconi83@gmail.com, ryder.lee@mediatek.com, kvalo@codeaurora.org, davem@davemloft.net, kuba@kernel.org, matthias.bgg@gmail.com, mcoquelin.stm32@gmail.com, alexandre.torgue@foss.st.com, apw@canonical.com, joe@perches.com, dwaipayanray1@gmail.com, lukas.bulwahn@gmail.com, chenhuacai@kernel.org, jiaxun.yang@flygoat.com, zhangqing@loongson.cn, jbhayana@google.com, sean.wang@mediatek.com, shayne.chen@mediatek.com, Soul.Huang@mediatek.com, shorne@gmail.com, gsomlo@gmail.com, pczarnecki@internships.antmicro.com, mholenko@antmicro.com, davidgow@google.com Cc: devicetree@vger.kernel.org, linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, linux-iio@vger.kernel.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, Tom Rix Subject: [PATCH 0/7] check Makefile and Kconfigs for SPDX tag Date: Thu, 10 Jun 2021 14:44:30 -0700 Message-Id: <20210610214438.3161140-1-trix@redhat.com> X-Mailer: git-send-email 2.26.3 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org From: Tom Rix A followup to https://lore.kernel.org/linux-fpga/YMD2yxtsQN16MoPA@kroah.com/ So I do not repeat this problem, add a SPDX checker for Makefiles and Kconfigs to checkpatch. Then treewide fix the malformed Makefiles and Kconfigs. Those missing tags are numerous. Kconfig has 46 Makefile has 141 Run checkpatch generally over the dirs with Makefile or Kconfig problems to check nothing broke in checkpatch. Fix the few problems turned up Tom Rix (7): checkpatch: check Makefiles and Kconfigs for SPDX tag mei: hdcp: SPDX tag should be the first line drivers/soc/litex: fix spelling of SPDX tag MIPS: Loongson64: fix spelling of SPDX tag iio/scmi: fix spelling of SPDX tag mt76: add a space between comment char and SPDX tag mt76: use SPDX header file comment style arch/mips/boot/dts/loongson/Makefile | 2 +- drivers/iio/common/scmi_sensors/Makefile | 2 +- drivers/misc/mei/hdcp/Kconfig | 1 - drivers/net/wireless/mediatek/mt76/mt7615/Makefile | 2 +- drivers/net/wireless/mediatek/mt76/mt7615/sdio.h | 2 +- drivers/net/wireless/mediatek/mt76/mt7915/Makefile | 2 +- drivers/net/wireless/mediatek/mt76/mt7915/testmode.h | 2 +- drivers/net/wireless/mediatek/mt76/mt7921/Makefile | 2 +- drivers/soc/litex/Kconfig | 2 +- drivers/soc/litex/Makefile | 2 +- scripts/checkpatch.pl | 2 +- 11 files changed, 10 insertions(+), 11 deletions(-)