Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp291300ybh; Sat, 18 Jul 2020 04:12:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw2Z82r0dRkHHGFOd9znOhgD7AdgHrNe2HOHNsVJ2kJmJJZCR9GTBSonXyfYIVr8hOThBgz X-Received: by 2002:a05:6402:16c7:: with SMTP id r7mr13469137edx.288.1595070719868; Sat, 18 Jul 2020 04:11:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595070719; cv=none; d=google.com; s=arc-20160816; b=lBEgQW/SjoM5Nx/GR5xIJW6mVdJX57m+l2Mv9BahN04KswCCfr9kGyk5BTLcJurJPF H4hginoWGkOHGQapaoxqQmeLJjlS6FWYGUv2nKVv9XZTv74qigR9+WkdhPMgcotY3QRD Ty4ukFCphqlLjjT0oJDPiFbA1voCHX+PWIXuB9nUudDz0YXf4xsGgkdGfOD/H4satbbX os7BK2e3WMkfyDR2SE0yKfe7VCKc8YZpUpZS5+xkHWvZG6eOmQbmgzvEdM2uSJ601Yde J6VYcXzM411FaMRCoxI1mGq4LpHQ/UalIt8Cn3uBQlVtpVhCkYtSCE9zcmLkPyPiThvB Rp3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=YQuEzwbF9jeBUVRldVmkE0BXpU37xlR3rPhWKv7rcyo=; b=JJEI9lFlTD0ePI1xsb+vnCKtgTZMkPiCrxuLCa1DxdCLTs3n6PY3ComDNHBYLWCCnI s3t5mOi+FWWxw4qbNmXvJBQuZiFyldr1SZmF2a0a+Gry4eqWp26WVK01IhtHJWu8yJ87 HQ9IYbvOVHp2bMOM5g2zcab3RWvnsJX6AiZerPhxsyjd8Ge0Oivn1TixRusdTsNMT4Qp 4f5fyXDVw6StV/yfmhFpvYIU9lOa5VkXyW1XTCeOcXNN6EYyx9GihZfDELqkv1cjT/He 9qo7VYIJCh3NJkmEofKfZkDcrZEV47q3PZ5oYy+tbrwG3i8aGKqlcEf/uoT1EIobrVIj BdIQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f14si6686141ejq.136.2020.07.18.04.11.36; Sat, 18 Jul 2020 04:11:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726775AbgGRLJJ (ORCPT + 99 others); Sat, 18 Jul 2020 07:09:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726507AbgGRLJI (ORCPT ); Sat, 18 Jul 2020 07:09:08 -0400 Received: from smtp.al2klimov.de (smtp.al2klimov.de [IPv6:2a01:4f8:c0c:1465::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9BCFFC0619D2 for ; Sat, 18 Jul 2020 04:09:08 -0700 (PDT) Received: from authenticated-user (PRIMARY_HOSTNAME [PUBLIC_IP]) by smtp.al2klimov.de (Postfix) with ESMTPA id E6C44BC069; Sat, 18 Jul 2020 11:09:04 +0000 (UTC) From: "Alexander A. Klimov" To: peter.ujfalusi@ti.com, lgirdwood@gmail.com, broonie@kernel.org, perex@perex.cz, tiwai@suse.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Cc: "Alexander A. Klimov" Subject: [PATCH] ASoC: ti: Replace HTTP links with HTTPS ones Date: Sat, 18 Jul 2020 13:08:57 +0200 Message-Id: <20200718110857.11520-1-grandmaster@al2klimov.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spamd-Bar: +++++ X-Spam-Level: ***** Authentication-Results: smtp.al2klimov.de; auth=pass smtp.auth=aklimov@al2klimov.de smtp.mailfrom=grandmaster@al2klimov.de Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`: If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`: If both the HTTP and HTTPS versions return 200 OK and serve the same content: Replace HTTP with HTTPS. Signed-off-by: Alexander A. Klimov --- Continuing my work started at 93431e0607e5. See also: git log --oneline '--author=Alexander A. Klimov ' v5.7..master If there are any URLs to be removed completely or at least not (just) HTTPSified: Just clearly say so and I'll *undo my change*. See also: https://lkml.org/lkml/2020/6/27/64 If there are any valid, but yet not changed URLs: See: https://lkml.org/lkml/2020/6/26/837 If you apply the patch, please let me know. sound/soc/ti/udma-pcm.c | 2 +- sound/soc/ti/udma-pcm.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sound/soc/ti/udma-pcm.c b/sound/soc/ti/udma-pcm.c index 39830caaaf7c..2ff0f518aba5 100644 --- a/sound/soc/ti/udma-pcm.c +++ b/sound/soc/ti/udma-pcm.c @@ -1,6 +1,6 @@ // SPDX-License-Identifier: GPL-2.0 /* - * Copyright (C) 2020 Texas Instruments Incorporated - http://www.ti.com + * Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com * Author: Peter Ujfalusi */ diff --git a/sound/soc/ti/udma-pcm.h b/sound/soc/ti/udma-pcm.h index 54111e7312c1..9ed588fd79b9 100644 --- a/sound/soc/ti/udma-pcm.h +++ b/sound/soc/ti/udma-pcm.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: GPL-2.0 */ /* - * Copyright (C) 2018 Texas Instruments Incorporated - http://www.ti.com + * Copyright (C) 2018 Texas Instruments Incorporated - https://www.ti.com */ #ifndef __UDMA_PCM_H__ -- 2.27.0