Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp776767rdb; Fri, 9 Feb 2024 00:11:09 -0800 (PST) X-Google-Smtp-Source: AGHT+IHS5XVkh1Tr+qP8fiI3KGYo782g3S55yjBxPAtZB3uqpMe+Aqn3r4dyDh7+bi1+3vIK7IPj X-Received: by 2002:a05:6a20:d387:b0:19e:9a7b:230f with SMTP id iq7-20020a056a20d38700b0019e9a7b230fmr1359213pzb.9.1707466269096; Fri, 09 Feb 2024 00:11:09 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707466269; cv=pass; d=google.com; s=arc-20160816; b=YfTSJ75P6nyMTyi1PGsGWU8/HSgZJivjZjbdWmTY9r3ctZK6LRR8ozA300lBWFWIlS 4iBUBcemqSuPuFKDO8fQdnUlwe8wCAoRnPm2EsuK99rN4hR/cfVaZUReKLIaOH+PCclu MLnB716N97ggbC21oPCn/hpHeItM/X1WMLs4Qavrf6/xqlwy3FgKI4CcnPDXxrI75p8P 9aO52gEqBvji8t8s4ensQlgNwfinhnOAc3Zs4s7HWsb/Au+fGlDKerqkPFC1glojJt39 h/bgzqG+WZP9N9f7sEJHEQNpB2a08WNDHlFdTueZhFMSzl+pVaymYoSrU9Pm5ZPLif4c 4pzg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=RaEtY28LlxRgOYeHCJZ9usaIBzqHWh0QhR+IEFJtR9A=; fh=X6yqbPAUE+7ed4aOcgbrqEyFxsCHSJsD8e8YstRjGek=; b=pR2CJto7tnOIPdCavnKEe6XKO6DKFsr3onCoKQi5T2JZuRtfEUkAGNDYupivI+Av/j sgC9GL8b6+7KrikUaP9QZvk0yTflvC2bJhm9qGCIVALMBarZQtKuFWqDy/KMK2grvB/Y CArnAujAnI46lue+uU1OdIBK8bIuk7Y2651NInpVMEUxA6ssXoAduudqloB+ubADJiVW 1nH82wjwsYeatbpIyFr3syDIf2cTTBjhi2cIBwnIKjhDCCL6HUrE6KUSwoxfiA21a0gc Fx4ztJmUNT+o7ty4QeO2lD32ZRb+08lTnsCOf9d6Wy9K48Uc/dGrNre3mmUM7Pc8Lo+d +d8A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lnPUwN+N; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-59088-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59088-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=2; AJvYcCVgazUI5Tm9MeN/A9eToAvCzezjEaLNKSz1EyQ7v1v6KD06rBkPIHD9zXG++mOZg/nX29ZDVCxpXz63CwCPLlyoULXvPHL2xe2P9+rpIg== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id w26-20020a63935a000000b005dbf1fcc429si1344615pgm.162.2024.02.09.00.11.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 00:11:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-59088-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=lnPUwN+N; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-59088-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59088-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 6EA96B29E4A for ; Fri, 9 Feb 2024 07:51:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 12C5565BA2; Fri, 9 Feb 2024 07:50:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="lnPUwN+N" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 22BE365BA4; Fri, 9 Feb 2024 07:50:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707465058; cv=none; b=dbKbO8yGzX1szZ8NbG7pSvbKVJhkidWhWk1eOTM6tfDDgKQnKXsKAtIXyl5SMDdfR1Xmv5keyY134lQsPqlGMBrw/mJ6X1c72TyuDvBADI7WcTT/8feJnCTsSHKOeightoCe2oyxuC8tYAhsVquAKtDiJDGZRouMp0pmMIxhAVU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707465058; c=relaxed/simple; bh=4P6Q65OM5G13zMp416D3cDinlUrcM6b83+wzrToei0M=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=Xvi36v+myxiIako4urLW67sBqGZgku7WqLqqh7HU6HoKZaiKP7VGOxDVkjr+GlUF5eAm+moTFZjrmqMVOoMt8IPOUhvZ4rDPIcYkw0fN78NC+2PF7QQvbhmnmCCLgNG1ES2O/fkRCWWY5nQ9HeLdIZqOKhj5yCGDrTIB5garGzg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=lnPUwN+N; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id D91CDC433F1; Fri, 9 Feb 2024 07:50:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707465057; bh=4P6Q65OM5G13zMp416D3cDinlUrcM6b83+wzrToei0M=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=lnPUwN+N4dSqR1G2m4/Shb6BfsucY08qgzOFcXugXnckCcVdvF1wGZ0aILmxTOMsM C56jh6Jw+CakVwpePLel2TaWMoasjS/C5oqvus9tzKaHiA6L7taFAv1I5i6u807TVR 90hYAIoQbOYugq8Ay1h/66+tVpfx4BMx2p2BVX55eavp98uoH0SxpiU8L1+AUsyfl0 sMenFXiE/i9Tt/wyf0vgE4o7czT0/aEAbnlUpAIUIMynHFOWgLVZWMRScY+qG1lhnz QqHCuoHfOAlJYzoZSmy6Cowr+AVOiZF2a/7voIyUlS7aEYvEznJhP8c837/SyF/oVw cmewdN5M7vZhQ== Date: Fri, 9 Feb 2024 07:50:52 +0000 From: Lee Jones To: Andy Shevchenko Cc: Flavio Suligoi , dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org, Daniel Thompson , Jingoo Han , Helge Deller Subject: Re: [PATCH v2 0/3] backlight: mp3309c: Allow to use on non-OF platforms Message-ID: <20240209075052.GB689448@google.com> References: <20240201151537.367218-1-andriy.shevchenko@linux.intel.com> <20240208113425.GK689448@google.com> <20240208173946.GX689448@google.com> <20240208181455.GA689448@google.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: On Thu, 08 Feb 2024, Andy Shevchenko wrote: > On Thu, Feb 08, 2024 at 06:14:55PM +0000, Lee Jones wrote: > > On Thu, 08 Feb 2024, Andy Shevchenko wrote: > > > On Thu, Feb 08, 2024 at 05:39:46PM +0000, Lee Jones wrote: > > > > On Thu, 08 Feb 2024, Andy Shevchenko wrote: > > > > > On Thu, Feb 08, 2024 at 11:34:25AM +0000, Lee Jones wrote: > > > > > > On Thu, 01 Feb 2024, Andy Shevchenko wrote: > > ... > > > > > > > > backlight: mp3309c: Utilise temporary variable for struct device > > > > > > > > > > (1) > > > > > > > > > > > Set no longer applies. Please rebase, thanks. > > > > > > > > > > I got a contradictory messages: > > > > > 1) email that says that all had been applied; > > > > > 2) this email (that tells the complete opposite); > > > > > 3) the repository where the first two were applied. > > > > > > > > > > While you can amend your scripts, I think I need to rebase only the last patch > > > > > > > > This is what I assume happened: > > > > > > > > 1. Attempted to apply the set (as a set) > > > > 2. 2 commits applied cleanly > > > > 3. The final commit conflicted > > > > > > Which is really strange. I have just applied (with b4) on top of your changes > > > and no complains so far. > > > > > > $ git am ./v2_20240201_andriy_shevchenko_backlight_mp3309c_allow_to_use_on_non_of_platforms.mbx > > > Applying: backlight: mp3309c: Make use of device properties > > > Applying: backlight: mp3309c: use dev_err_probe() instead of dev_err() > > > Applying: backlight: mp3309c: Utilise temporary variable for struct device > > > > > > Can you show what b4 tells you about this? > > > > Fetching patch(es) > > Analyzing 14 messages in the thread > > Checking attestation on all messages, may take a moment... > > --- > > ✓ [PATCH v2 1/3] backlight: mp3309c: Make use of device properties > > + Reviewed-by: Daniel Thompson (✓ DKIM/linaro.org) > > + Link: https://lore.kernel.org/r/20240201151537.367218-2-andriy.shevchenko@linux.intel.com > > + Signed-off-by: Lee Jones > > ✓ [PATCH v2 2/3] backlight: mp3309c: use dev_err_probe() instead of dev_err() > > + Tested-by: Flavio Suligoi (✗ DKIM/asem.it) > > + Reviewed-by: Daniel Thompson (✓ DKIM/linaro.org) > > + Link: https://lore.kernel.org/r/20240201151537.367218-3-andriy.shevchenko@linux.intel.com > > + Signed-off-by: Lee Jones > > ✓ [PATCH v2 3/3] backlight: mp3309c: Utilise temporary variable for struct device > > + Link: https://lore.kernel.org/r/20240201151537.367218-4-andriy.shevchenko@linux.intel.com > > + Signed-off-by: Lee Jones > > --- > > ✓ Signed: DKIM/intel.com (From: andriy.shevchenko@linux.intel.com) > > --- > > Total patches: 3 > > Prepared a fake commit range for 3-way merge (672ecc5199b5..d507b9f4c5b9) > > --- > > Link: https://lore.kernel.org/r/20240201151537.367218-1-andriy.shevchenko@linux.intel.com > > Base: not specified > > > > Running through checkpatch.pl > > total: 0 errors, 0 warnings, 103 lines checked > > > > "[PATCH v2 1/3] backlight: mp3309c: Make use of device properties" has no obvious style problems and is ready for submission. > > total: 0 errors, 0 warnings, 41 lines checked > > > > "[PATCH v2 2/3] backlight: mp3309c: use dev_err_probe() instead of" has no obvious style problems and is ready for submission. > > total: 0 errors, 0 warnings, 81 lines checked > > > > "[PATCH v2 3/3] backlight: mp3309c: Utilise temporary variable for" has no obvious style problems and is ready for submission. > > > > Check the results (hit return to continue or Ctrl+c to exit) > > > > > > Applying patch(es) > > Applying: backlight: mp3309c: Make use of device properties > > Applying: backlight: mp3309c: use dev_err_probe() instead of dev_err() > > Applying: backlight: mp3309c: Utilise temporary variable for struct device > > Using index info to reconstruct a base tree... > > M drivers/video/backlight/mp3309c.c > > Checking patch drivers/video/backlight/mp3309c.c... > > Applied patch drivers/video/backlight/mp3309c.c cleanly. > > Falling back to patching base and 3-way merge... > > error: Your local changes to the following files would be overwritten by merge: > > drivers/video/backlight/mp3309c.c > > Please commit your changes or stash them before you merge. > > Aborting > > error: Failed to merge in the changes. > > Patch failed at 0003 backlight: mp3309c: Utilise temporary variable for struct device > > hint: Use 'git am --show-current-patch=diff' to see the failed patch > > When you have resolved this problem, run "git am --continue". > > If you prefer to skip this patch, run "git am --skip" instead. > > To restore the original branch and stop patching, run "git am --abort". > > Thank you! > > It seems I have reduced context, so if you do `git am -C2 ...` it should apply. > Never mind, I'll send a new version which should work with -C3. I just use the default matching context lines. Do you have a special config that reduces you context in patches? -- Lee Jones [李琼斯]