Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp4438109pxt; Wed, 11 Aug 2021 06:11:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyOguGDX/KgCdrTkm2ni3KDdpJqDE7wy49UM/R07KI12nSMSBqVi6ZT6QmrHwNn3h84xnkc X-Received: by 2002:a50:a455:: with SMTP id v21mr11078638edb.369.1628687464874; Wed, 11 Aug 2021 06:11:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628687464; cv=none; d=google.com; s=arc-20160816; b=0nA47CU6JrETZyC5X/vDbYQYjIS2fIYyr+XsHx5uu4g1UWyavVNLhrc5LG7w33Wyl5 nVLl0GBW3QI6fou1SRdMPBBuqq36G2ZS39QITGwo6Zh/zf6g+Y3bUqthXJkgT1uJ4dnj 7oCBjEBJP900UT7yq9Pur0F5PFk6poc0cOMAsx/iUG1uhoL1zkCp7IGJs56kTtQ6SZ8p 0JMNwpr8IiD7DHlGTV6d7ERtwpwDeT7Rps3f2EfR5X1FY9YwFg1M6ULUz7BxmpW2iKti 9oXuS8CRxmuJh8sXFufUSCTSW9DDz1ahOGZ2/n2euuQH+QIbb/Y69forZNR+Xw4M4vtf oQ8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=XG3G3Wda83V83GWSDXHKz5B+fysnkbvV7kMaz99KU4Y=; b=Zpa928uq/fqQijcL5fO/oz54o3PSOhbBAs3PLVnBnPkE9L+PFPJQs2r6OF1li4ttro wpdlWx7w2vE+Lww5/dzZ5vWjl89hpiFtOozO7gpw09SgB29IDLaUhcaESIit13PiTaUv jtGz3UjkRSx+1jzPtNVRzFTfsLkCt29ooSJ0CjQ1mxOZnmYin74wW48Lh4JhNHoLk9cq yICr610U9ZrfI0iZkXY+CvxKbFAayWJwvQqRnimxUX6RnF+PDdd6SsE7vJvCMMm9Y3OJ LC7bswXAdXcsUYi2PS973q17nHst686HzmTFbagw2aB4gvbKs5as4O340d6H3Ly6rlC+ A3xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=pD8ogjIb; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e10si26847583edj.183.2021.08.11.06.10.40; Wed, 11 Aug 2021 06:11:04 -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=@linuxfoundation.org header.s=korg header.b=pD8ogjIb; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230405AbhHKNHV (ORCPT + 99 others); Wed, 11 Aug 2021 09:07:21 -0400 Received: from mail.kernel.org ([198.145.29.99]:59260 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230030AbhHKNHU (ORCPT ); Wed, 11 Aug 2021 09:07:20 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 2B7F560D07; Wed, 11 Aug 2021 13:06:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1628687216; bh=qcTlRMTdng/DbA+1wbB5n4EdMMJWgDMlUQ9bV3LywUU=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=pD8ogjIbgcl+s78ScsxVFt6sFVlPZqalp8R+XFdW0kWFDBcfgY6S/ZlxkieoDVV4o wvIRSd8GxyOxlhtvDsi2/gvKNPYswwlw4kM6T9ejIkb7GXOr1qyHyc9V4wPxve6iK6 xVagAwh3GRd537LMzD93Y9JfkD9SjNBHgD+O++2o= Date: Wed, 11 Aug 2021 15:06:53 +0200 From: Greg Kroah-Hartman To: Pavel Machek Cc: linux-kernel@vger.kernel.org, stable@vger.kernel.org, jason@jlekstrand.net, Jonathan Gray Subject: Re: [PATCH 5.10 125/135] drm/i915: avoid uninitialised var in eb_parse() Message-ID: References: <20210810172955.660225700@linuxfoundation.org> <20210810173000.050147269@linuxfoundation.org> <20210811072843.GC10829@duo.ucw.cz> <20210811122702.GA8045@duo.ucw.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210811122702.GA8045@duo.ucw.cz> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Aug 11, 2021 at 02:27:02PM +0200, Pavel Machek wrote: > On Wed 2021-08-11 09:46:12, Greg Kroah-Hartman wrote: > > On Wed, Aug 11, 2021 at 09:28:43AM +0200, Pavel Machek wrote: > > > Hi! > > > > > > > From: Jonathan Gray > > > > > > > > The backport of c9d9fdbc108af8915d3f497bbdf3898bf8f321b8 to 5.10 in > > > > 6976f3cf34a1a8b791c048bbaa411ebfe48666b1 removed more than it should > > > > have leading to 'batch' being used uninitialised. The 5.13 backport and > > > > the mainline commit did not remove the portion this patch adds back. > > > > > > This patch has no upstream equivalent, right? > > > > > > Which is okay -- it explains it in plain english, but it shows that > > > scripts should not simply search for anything that looks like SHA and > > > treat it as upsteam commit it. > > > > Sounds like you have a broken script if you do it that way. > > That is what you told me to do! > > https://lore.kernel.org/stable/YQEvUay+1Rzp04SO@kroah.com/ Yes, which is fine for matching sha1 values. > I would happily adapt my script, but there's no > good/documented/working way to determine upstream commit given -stable > commit. > > If we could agree on > > Commit: (SHA) > > in the beggining of body, that would be great. > > Upstream: (SHA) > > in sign-off area would be even better. What exactly are you trying to do when you find a sha1? For some reason my scripts work just fine with a semi-free-form way that we currently have been doing this for the past 17+ years. What are you attempting to do that requires such a fixed format? thanks, greg k-h