Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp924463pxa; Wed, 5 Aug 2020 16:37:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxferMk3J+Ltsj+rB2LuQtjTaMRHndsLWkyfaqVtMEMlxkkxBwEnIMhuKt9J9Rde9Up4QXb X-Received: by 2002:a05:6402:84e:: with SMTP id b14mr1541364edz.115.1596670646188; Wed, 05 Aug 2020 16:37:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596670646; cv=none; d=google.com; s=arc-20160816; b=dcYRGz3rLt3RoavyE6wNPdZ58AZlZgQqzXuwynwE1Yl7IbjRSwCVOUjnpxnuiA0bA8 AXCT5xyqTLm8uDxVtLEW1x/Mn4ObHtvLF1D6V3IUZkfNYWdjTetVoutkCLscTAxLVerN 5dTN+GknUyEG+d79RXPyQbL3/TTcBgGh+rw5RF8TqZt9zXMkloVHu/ATwo4H7Boax57x J5plhaSYVtrD6UCXSsGFO5jnNXqz+ebVyZdBhsoXWe04URH9y73UX71hArmys87ubHj2 y55AW1VV8uFW0jCmmxntEAT41DRDpOmGZ7J4i0qOBV9qT1zp0/5KA/xvhb6+HYKWtuE5 +Kww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:dkim-signature; bh=+ICDtaOCRf13/8qdmhlzMXDRWP11eU7bPjKnq6SF2/0=; b=og4yv8D9jW0gYQuXL1r5NQzC35B9BpmpvpkvNSft8Gu92ZH8bWmQ/n9TNXXW4xRMZi tkRvU0uHsma/uyAepkFarAxt0iTtYwpVKyfem/OQYUm353EFRe1mIbEfsK8odGVC6c2x /hGmrChqdR2Wx7fbt2ukachvsHwqCpWSxZudwZjE6Jsne8jxz3A3YgoZFwV6X2sLSlPb fryDDpoFeGTerYo1+mF2hDhS6+wEkgVxgeZGwNGNeVoel2Nwmvr/F5gqcSPo3xCLWnY9 WGh+6hkwsY1JcVepAFeo1KXX5jbl5/7jReZZZz+3TEOoeiO/5zVK1ENc1ARcWj08EF0v NT2w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=gMGB7Ole; 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 n20si2179150ejo.160.2020.08.05.16.37.01; Wed, 05 Aug 2020 16:37:26 -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=@canb.auug.org.au header.s=201702 header.b=gMGB7Ole; 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 S1726130AbgHEXgv (ORCPT + 99 others); Wed, 5 Aug 2020 19:36:51 -0400 Received: from bilbo.ozlabs.org ([203.11.71.1]:34263 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725779AbgHEXgu (ORCPT ); Wed, 5 Aug 2020 19:36:50 -0400 Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4BMSgv6kJrz9sPC; Thu, 6 Aug 2020 09:36:43 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=canb.auug.org.au; s=201702; t=1596670607; bh=Cmh/gB9YJihUYayn4qJ1dLbYOonTO4P9wvqqLFhuqPM=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=gMGB7OleVdn5cjisxmKfyvCr1i8cngUbFqDEf3wpMsZTuhGJlTH5/8b6NrR2yPDYF 6461a3Wakqw5GpknHt9hRaLV+xUslzyu3htkmS9ohuD94+cT5tCXU2oo6J+8bL2TkV QM7BSPYLOGZI2ouZPaZcLzezQyMGWM3yQ7Em7r/SUyL+oKfKdc15/zI1zGLgOHNsCw R8YnEPhLqIgrhJaChRyN9pTabR22KYIF550x+gH0KBlGHsQrhC5eBuZUZKqiojL0nz Wn2/AGmBPcw8R1txRDz0B1MG9HT87eAD07VYDJuj+kV1INQIPKY6Os3zyNFiNb2Z81 tq3iL17uoCxrg== Date: Thu, 6 Aug 2020 09:36:41 +1000 From: Stephen Rothwell To: Joe Perches Cc: Alex Deucher , Colin King , Alex Deucher , Christian =?UTF-8?B?S8O2bmln?= , David Airlie , Daniel Vetter , amd-gfx list , Maling list - DRI developers , kernel-janitors@vger.kernel.org, LKML , Daniel Vetter Subject: Re: [PATCH] drm/amdgpu: fix spelling mistake "Falied" -> "Failed" Message-ID: <20200806093641.5795690c@canb.auug.org.au> In-Reply-To: References: <20200805113510.18277-1-colin.king@canonical.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/NtAfwcFVg/Q5mr7.l90JiEZ"; protocol="application/pgp-signature"; micalg=pgp-sha256 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --Sig_/NtAfwcFVg/Q5mr7.l90JiEZ Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi all, On Wed, 05 Aug 2020 15:19:38 -0700 Joe Perches wrote: > > On Wed, 2020-08-05 at 17:27 -0400, Alex Deucher wrote: > > On Wed, Aug 5, 2020 at 4:53 PM Joe Perches wrote: =20 > > > On Wed, 2020-08-05 at 16:01 -0400, Alex Deucher wrote: =20 > > > > On Wed, Aug 5, 2020 at 7:35 AM Colin King wrote: =20 > > > > > From: Colin Ian King > > > > >=20 > > > > > There is a spelling mistake in a DRM_ERROR message. Fix it. > > > > >=20 > > > > > Signed-off-by: Colin Ian King =20 > > > >=20 > > > > This is already fixed. =20 > > >=20 > > > This fix is not in today's -next. > > >=20 > > > Perhaps whatever tree it's fixed in should be in -next. > > > =20 > >=20 > > Weird. It's in the drm-next tree as: > >=20 > > commit 4afaa61db9cf5250b5734c2531b226e7b3a3d691 > > Author: Colin Ian King > > Date: Fri Jul 10 09:37:58 2020 +0100 > >=20 > > drm/amdgpu: fix spelling mistake "Falied" -> "Failed" > >=20 > > There is a spelling mistake in a DRM_ERROR error message. Fix it. > >=20 > > Signed-off-by: Colin Ian King > > Signed-off-by: Alex Deucher > >=20 > > Alex > > =20 > > > $ git show --oneline -s > > > d15fe4ec0435 (HEAD, tag: next-20200805, origin/master, origin/HEAD) A= dd linux-next specific files for 20200805 > > >=20 > > > $ git grep -i falied drivers > > > drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c: DRM_ERROR("Fa= lied to terminate tmr\n"); > > > =20 > > > > > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_psp.c b/drivers/gp= u/drm/amd/amdgpu/amdgpu_psp.c =20 > > > [] =20 > > > > > @@ -2010,7 +2010,7 @@ static int psp_suspend(void *handle) > > > > >=20 > > > > > ret =3D psp_tmr_terminate(psp); > > > > > if (ret) { > > > > > - DRM_ERROR("Falied to terminate tmr\n"); > > > > > + DRM_ERROR("Failed to terminate tmr\n"); > > > > > return ret; > > > > > } =20 >=20 > Dunno. >=20 > Maybe it's due to some ordering of trees in > how -next accumulates patches? The spelling error is introduced in two commits: c564b8601ae9 ("drm/amdgpu: add TMR destory function for psp") in Linus' tree between v5.8-rc4 and rc5 90937420c44f ("drm/amdgpu: add TMR destory function for psp") in the amdgpu tree between two merges by the drm tree. In this same interval, the error is corrected by commit 4afaa61db9cf ("drm/amdgpu: fix spelling mistake "Falied" -> "Failed"") so when David comes to merge the amdgpu tree in commit 206739119508 ("Merge tag 'amd-drm-next-5.9-2020-07-17' of git://people.fr= eedesktop.org/~agd5f/linux into drm-next") the spelling error has been introduced on one side of the merge and introduced and corrected on the other. This would have produced a conflict which David presumably resolved in haste by picking the HEAD side of the merge instead of the MERGE_HEAD side (it happens). This could have been avoided by not cherry-picking fix commits around in the amdgpu process - instead having a fixes branch that is merged into the next branch after the fixes branch has been accepted upstream (that way there is only one commit for each fix and less conflicts). I have to deal with these sort of conflicts (sometimes daily) due to the drm processes. Its a pain as I have to track down each conflict to see if the same patches appear on both sides of merges and then try to figure out what other changes occur. (This is only slightly helped by have the "cherry-picked from" tags in the fix commits.) --=20 Cheers, Stephen Rothwell --Sig_/NtAfwcFVg/Q5mr7.l90JiEZ Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAl8rQokACgkQAVBC80lX 0Gw3xggAk/E16XshgUXV574Pqu7SjSyeHU5oUQeRvdnP348Xm+8+fzR+TJ4//Fot mHgy13Z06GupLFaKGLqJx8ftRBKlFhOZ+s5xzzUwfXs8GI6FmXINGk9x6uJm2PYo gxtDzLSnq/GVlcbMJJ12ejIpjn3fpoP3fPFBO+rVLZkDZ+cZbABEyrrbi/jJbbKp SBJ+vMfBR9i7jtt5StFBfTp9JEWUqqIJhtT0aJwA/ycmUse+ynHHzsGQPADads5V fo16ICEKNN9fjPKbaBArUK6v/WRFd+2UQDhQNsNWJ9DgkGXyACGkOCarv76EoqGP LB0oyyiSB6p2xz40nUvPJsWmw9ecPA== =Osit -----END PGP SIGNATURE----- --Sig_/NtAfwcFVg/Q5mr7.l90JiEZ--