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: 12314041 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=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 A9C49C48BE6 for ; Thu, 10 Jun 2021 21:45:17 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 90521613E9 for ; Thu, 10 Jun 2021 21:45:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231175AbhFJVrM (ORCPT ); Thu, 10 Jun 2021 17:47:12 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:32681 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231146AbhFJVrK (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=1623361511; 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=aJRQep7gTA8uYRTz6oqy1GQO2rcA/QCQZJD/Mk5l/ARJJMaCv7EMmPCwB0iYWtiNGvmRCa pt4kp7MbUQTWMjK+G3ZPWEe4PNZKiiyw+omQmOy5EZFKrQLdNe3qqlSN1Nno1/CqMGHknE ukgZzBTNwk0XnGCH3E4DuJRbnIHXmAE= Received: from mail-ot1-f72.google.com (mail-ot1-f72.google.com [209.85.210.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-10-0Z6oS_T6O9-ap7qydzz9Ug-1; Thu, 10 Jun 2021 17:45:09 -0400 X-MC-Unique: 0Z6oS_T6O9-ap7qydzz9Ug-1 Received: by mail-ot1-f72.google.com with SMTP id m20-20020a0568301e74b02903e419b82f75so629987otr.23 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=Q1WQGRy1w03a85eDBqQbqdLB0eCi8dDedvUBKrGo05IvzcqQKik/R6WdgccjuruIR/ 2Ryp/MTqHww1MKMVa1NohUoZZCgXGUqbY93lbSwJlKjcw6N5nsfg3WsMs9q/SxYanenN egsjJqwfk0UQbTiZ42tPnzxXkRSA2IrMBw/UhyiQTV5yGYoF+BQsee5v4dCZYZyF0RVq HNVLZK/Y3MCV17e+8dDq1i/T7u26cYodC57dYELVOA4Ep+L+2nTBr9ucNJrKrYc4CA5v i5saqp+H6Kn5Fb6lJsXKKd/ZXjef6altF+GlLnLgaIAldhDPT2g3kc7YjMxAfv2WRWU9 ueeA== X-Gm-Message-State: AOAM531qZvD/yYdtXfiqzDJAxXge7GPIXVnuH+MixtdCi8KMwrcmlZSR EU47K0UIyNmcfu52OfTo5zFUvVLSjdhT6BsePs5KbGafMRxKqGPaPpO5yOAKWLz8qyfWO6rbEYE HFlZ0UJkAXEwS+UX/C9wd X-Received: by 2002:a9d:17d0:: with SMTP id j74mr386210otj.92.1623361509078; 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: linux-iio@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(-)