Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1151513ybt; Wed, 8 Jul 2020 23:16:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz72nCtB+CJ2aQyRBA7sTmHb+om7GGZ3KklZ/hKQF2zRRf1tMbeepYX8ycOP9EhW5J7qpm/ X-Received: by 2002:a17:907:9c6:: with SMTP id bx6mr55117187ejc.43.1594275411430; Wed, 08 Jul 2020 23:16:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1594275411; cv=none; d=google.com; s=arc-20160816; b=tQptl7oQZwtJ+9Ia6KykDg1ocDKcmnI0AXjszUGsAdlO3IA5N7d7AkkxjB4+q8SaLu sapsHskKaRDdm9piVtlvncEOXw5arT+aAgEhMreew1mokHNINzO3kBww2rO9dUcGedJ+ PXuFl+QtS/+Xgc0/Ilf7y5mk3aX3XZ5mM0DrUB5AlQqCC8vv5AMeN6X2lt+kHnr/2Ocp Ot48iGsSkfVx0Ev2SENGcE7ZsFHjufkpXYPoG7oGB1hUdj2orPf0yjhgD9/uH95pDliJ g6Rw5na4S2/B3E1+auHhjiT35ttbYpxRcCedZUdtgKMMWE44kK4i7jGUvFit2PFrCX4r mfeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=wH6GfyCa1ko7u5yFoN4xu3sw0oZ/zejDKRUonTKN440=; b=ZqQfVwdxMGEfLNP8xBu6F3GWi0ZbGluVDgHXxHnDkwRwaYU4cvqnqSgSpg7W36DNVf ebq3y+aTNypaDASmUQ7JutFWLwSa8L4WwsOvcF9oCoctnoaEA4JoNXSiDnQMa1KwovDL AW9YCPpnmlg3+KhD4lNHT5am+GJhK44PZv6wlVyhWg1dehzxWv+Uj7xgItz3vBUYbCHG jbO+T0Auafh6iBYcv6dr52HdmSaSGtxAto0ET00BlBxFrrvdscscTFo99XAszmBaxRwI +GUnR2qeFw+PN5HioBF97UEgFTBwBCVB5C7gXO7o45MQXh0601niR6XrbM/AvTgfMLEl TQ+g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=GvSQXDN6; 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 a15si1661235edn.210.2020.07.08.23.16.28; Wed, 08 Jul 2020 23:16:51 -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=@kernel.org header.s=default header.b=GvSQXDN6; 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 S1726193AbgGIGOP (ORCPT + 99 others); Thu, 9 Jul 2020 02:14:15 -0400 Received: from mail.kernel.org ([198.145.29.99]:33196 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725787AbgGIGOM (ORCPT ); Thu, 9 Jul 2020 02:14:12 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id C9FEB206A5; Thu, 9 Jul 2020 06:14:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1594275252; bh=eJ37KQepXsq7ZbcPCZXnc3xOtAie6Pp6DP5wKWUwKJY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GvSQXDN6VhqS8FOO8X76vXoe0PxXTf6HP+tZLXcqU2CWRBQL2Id2l/bgVb0L4UQ84 iE/WBjP/wipRKUSy1PMgFlxTm46nDAunoFwcsapUQKyiLqMwXCR0/Syr/4MC0c7+4S bgyxZoX+vuR4Vhdkbt2x1yHE2TKDeGGhc495xz/E= Date: Thu, 9 Jul 2020 08:14:09 +0200 From: Greg KH To: "Alexander A. Klimov" Cc: stern@rowland.harvard.edu, linux-usb@vger.kernel.org, usb-storage@lists.one-eyed-alien.net, linux-kernel@vger.kernel.org, Jonathan Corbet , David Miller , Linus Torvalds Subject: Re: [PATCH] Replace HTTP links with HTTPS ones: USB MASS STORAGE DRIVER Message-ID: <20200709061409.GA130260@kroah.com> References: <20200708095500.13694-1-grandmaster@al2klimov.de> <20200708103928.GC585606@kroah.com> <6b78a3fd-04b9-fc8e-b5c6-f03372a4cd31@al2klimov.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <6b78a3fd-04b9-fc8e-b5c6-f03372a4cd31@al2klimov.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 08, 2020 at 08:41:54PM +0200, Alexander A. Klimov wrote: > > > Am 08.07.20 um 12:39 schrieb Greg KH: > > On Wed, Jul 08, 2020 at 11:55:00AM +0200, 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 > > > > Your subject lines are very odd compared to all patches for this > > subsystem, as well as all other kernel subsystems. Any reason you are > > doing it this way and not the normal and standard method of: > > USB: storage: replace http links with https > > > > That would look more uniform as well as not shout at anyone. > > > > thanks, > > > > greg k-h > > > Hi, > > I'm very sorry. > > As Torvalds has merged 93431e0607e5 and many of you devs (including big > maintainers like David Miller) just applied this stuff, I assumed that's OK. > > And now I've rolled out tens of patches via shell loop... *sigh* > > As this is the third (I think) change request like this, I assume this rule > applies to all subsystems – right? Yes, you should try to emulate what the subsystem does, look at other patches for the same files, but the format I suggested is almost always the correct one. If not, I'm sure maintainers will be glad to tell you otherwise :) thanks, greg k-h