Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp1458835ybh; Mon, 13 Jul 2020 20:49:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyXi2zERA0kF8Fx5PHLibDWZgwK58rrtO/Po9eDY/AuIxBiSp0HG/L6K2f2WXAoPltbBvDq X-Received: by 2002:a50:afe1:: with SMTP id h88mr2477123edd.295.1594698574236; Mon, 13 Jul 2020 20:49:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594698574; cv=none; d=google.com; s=arc-20160816; b=QBooLRDcrl8tfCIxqhJ5GZL7M4HdlNjjNA514epQwV9LV1VwOm5JF5DHHnGMG9+O+U LzFPG3AYhr+CP1h7eDkKjB+5RBaTUMAZkyy5LevDUG7ACZHvN3hrPiZ7IyKHehqHXxSI 1m3R/DnOM48LuQ9odSE7oWDIJnr+rc5hah8SeRuNUhYBrEw6tmfdrGmxUAsgPJFD/eM/ VyYE37sgON1dQgrBJH/GFxoa9NuvxIB8ppehRa6jEKcMGvG9T6SKH0cEsBYSeOcilJiq hx515Cr1h4Zv4Bzd9oMtfUkIKod1k3D17SmODjCIy2OOU5Wi+VSAY7pnSN5ljYdTHZwM MUfw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=EsBq089GZDoIsvZsbiScToJsxprKvs/96JCOecXXXpQ=; b=pZsQC4Nupf6rqzwTWUVhj5ww5Fn55JHg+taV1ZBGLAzJ7Q8wlciiO/P3bq8dgZil0T 1/VKp/lELj3U77+Yffdnw6QQcbsU22c1dC50EETBrptUDkFX3hkcDARi+IlH0TV+ZSLp FG0v4ubNi2TeNaSpFnNUGypnBC8eDzHirg3wnEIW3gXkJTlXYSJ9NUHmtH62tAVqtqrG mPffu9sYwPh7HDbhlJTG0kKh6ypI4AShKBkR74kGSR9FbJPihxRgBU8Y0H1vXy0tbZRA K96nSM28s+5kv6Go05bhjpE5LquYelOq7diW7OW1Co78SNGXDjHeXIfLFFaOofHiciUv Es5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=uJcRAIpO; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u29si10284665edi.469.2020.07.13.20.49.10; Mon, 13 Jul 2020 20:49:34 -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; dkim=pass header.i=@linaro.org header.s=google header.b=uJcRAIpO; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726821AbgGNDsG (ORCPT + 99 others); Mon, 13 Jul 2020 23:48:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726510AbgGNDsF (ORCPT ); Mon, 13 Jul 2020 23:48:05 -0400 Received: from mail-pl1-x644.google.com (mail-pl1-x644.google.com [IPv6:2607:f8b0:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA946C061755 for ; Mon, 13 Jul 2020 20:48:05 -0700 (PDT) Received: by mail-pl1-x644.google.com with SMTP id k5so6435808plk.13 for ; Mon, 13 Jul 2020 20:48:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=EsBq089GZDoIsvZsbiScToJsxprKvs/96JCOecXXXpQ=; b=uJcRAIpO/eks3FbmlqRMbW3QTtdRhagCtBBH/OPRFzO+cItithAHhWdexOdJ0Qd4PJ /2Cb47Eiz6ndS7Pq12thMyP16KBwyvGmNOR0aXL4HkMoYjwI5Gdvxclz02dpsz5+be3e RDYvNtm5JmHU3p6Jq2ji4NCzRuWwhF9g2Wjr43rZoQNFT73EI8NKtaRRODCtcMXRaQ4U W0WiiM7dXislDwe3VkYVgNYylgwa/KBKaQJqZAjlH23E5tQhzRNLXsvV+gyxSNclygYD OqX55Quq6wpD0uq2nuLV01i4AyXuFwkU0wrOfSBIQ3IkeeojSYD8GlbGaLtpFT5Tfb8/ 3+4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=EsBq089GZDoIsvZsbiScToJsxprKvs/96JCOecXXXpQ=; b=Q0kgpSw7KG9DAcquU8wgW1pa2kMm2LWCe1Bf+mMxzMA51RRUf5MrwxyhHbjw+YwyPr 2Cm8wcB44UB8es3agtiNA9Bs2Sg+Z1xQsTiwd5Oh3zE/aM2ewX/FDHXqGSAfAJX/svnR Edd7iFdXC+hwWbLEtQn064UK8J5vEPhDJRew/oQ6f+tOHsi5N+pEXK3jxKLIY8UOVMcq fYN3S0pWpdhocBswi2D2QuhcRI5sJmNJbrB5wX7FKlcqzdrlbR38jYMxeZbeVQmT1u8q RIXLAXuWwEbTFaeh9j9MWr0FQ84GBXOt3Hax+iGbbldxkG1mcsAjlkUUifjbcdqAOrEm rK7A== X-Gm-Message-State: AOAM533rjHQ4SUe20GGi45W9uRd1impFQ7O47v1DAWk1eJymfz8fJ06X J7cjL1kzQafMkx2wrucaiG4fyQ== X-Received: by 2002:a17:90b:120a:: with SMTP id gl10mr2436607pjb.44.1594698484589; Mon, 13 Jul 2020 20:48:04 -0700 (PDT) Received: from localhost ([122.172.34.142]) by smtp.gmail.com with ESMTPSA id i184sm15489021pfc.73.2020.07.13.20.48.03 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Jul 2020 20:48:03 -0700 (PDT) Date: Tue, 14 Jul 2020 09:18:02 +0530 From: Viresh Kumar To: "Alexander A. Klimov" Cc: vireshk@kernel.org, nm@ti.com, sboyd@kernel.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] opp: ti-opp-supply: Replace HTTP links with HTTPS ones Message-ID: <20200714034802.jq2y5km4qentpehe@vireshk-i7> References: <20200713180516.36746-1-grandmaster@al2klimov.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200713180516.36746-1-grandmaster@al2klimov.de> User-Agent: NeoMutt/20180716-391-311a52 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13-07-20, 20:05, Alexander A. Klimov wrote: > 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 > (Actually letting a shell for loop submit all this stuff for me.) > > 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. > > Sorry again to all maintainers who complained about subject lines. > Now I realized that you want an actually perfect prefixes, > not just subsystem ones. > I tried my best... > And yes, *I could* (at least half-)automate it. > Impossible is nothing! :) > > > drivers/opp/ti-opp-supply.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/opp/ti-opp-supply.c b/drivers/opp/ti-opp-supply.c > index e3357e91decb..bd4771f388ab 100644 > --- a/drivers/opp/ti-opp-supply.c > +++ b/drivers/opp/ti-opp-supply.c > @@ -1,6 +1,6 @@ > // SPDX-License-Identifier: GPL-2.0 > /* > - * Copyright (C) 2016-2017 Texas Instruments Incorporated - http://www.ti.com/ > + * Copyright (C) 2016-2017 Texas Instruments Incorporated - https://www.ti.com/ > * Nishanth Menon > * Dave Gerlach > * Applied. Thanks. -- viresh