Message ID | 20240201151537.367218-1-andriy.shevchenko@linux.intel.com |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-48391-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:9bc1:b0:106:209c:c626 with SMTP id op1csp24801dyc; Thu, 1 Feb 2024 13:09:52 -0800 (PST) X-Google-Smtp-Source: AGHT+IFFCniLGMrH9+tKKlzXFPBFYnwMPEVoh9vVVNekjaQTih0vn7epJ4k3hNrvXV7k23wNDYxY X-Received: by 2002:a17:902:d2cf:b0:1d8:f12d:4b31 with SMTP id n15-20020a170902d2cf00b001d8f12d4b31mr4458982plc.28.1706821792199; Thu, 01 Feb 2024 13:09:52 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706821792; cv=pass; d=google.com; s=arc-20160816; b=RIN7dyfPqqCl/VdBiI3VUw+ktExYV1MsW1U2W3xveJMAf3EQnZdnWPcKjhMfBNpFbq GgpdtctrVuS+KLKM158Ir2k0Ya6W8G2KKRJudWvpCwJRFfqdc4fIh6Wt5RuRPZ405f1E RP2abVXaoIzIHRLkCusUIfPBQSN1WgFPuiC5VwEvWbpNdqZaqD30wKRL5wsIk+qAN78b aGkMOmsOdIXGk01dzeKfk7ssy2pF1VhWnweGqxE7zHO4f7Ain1ASXjGoX1Ime4z8iK2+ 8wDR+d4jVO0+16OOStxFaCUQSbkRhpiBm9uLTqKPH12rTzv+xrqQqiPZHn1ij9wELDpj ACLw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=UKe2LMHjdOMkMyRWABzR+QpNNkonJgTSViXSNqqnmsc=; fh=/S9docC1dsqkZPS0ZxHITEE4y2pTH4IyBHfWqFmGy3M=; b=eNM1+MdBLkSIvBw4CDVfuEMFFAlRAiAcJroLN8wfgH9Aen7DzbPbpSRoaNZbRspqJ/ WDuSJbCGtAb7xJIpsB3/MWQkiO3lVDFEDKt4zocgSQ5/pNHmHxM3be4N02VZa+7YN4Mk TNjlgm4/C8DJVOsaxpT34FkyIEU8SyWJpSFCs0OBzdvX5wkNEzkJPzpc9cgB3kXbgq3C sVqHR6EfZqL68BtM5GcoEFZauTckoZrOEMA7wXjd5pR3ImJmeG1vQyJZNTHJArI8zG7f RM73lUX4L2ujawI8sA2+4NkMo5y00AKXX+Dk06j0CSA/A6WRxupvu/wdMPvsD+M5um9x LHGA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=F9C6h7Bo; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-48391-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48391-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com X-Forwarded-Encrypted: i=1; AJvYcCUfNgsGiHTVdnPcxMN5WMdfxs5opQMWyHoQBfkxsN85cONWQhYq0FuT7MHaFC+EWagNZRZ+yZCSdwiaGWtqwJmo3wlYZA== Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id f10-20020a17090274ca00b001d4e20ce9a7si456708plt.33.2024.02.01.13.09.51 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 01 Feb 2024 13:09:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-48391-ouuuleilei=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=@intel.com header.s=Intel header.b=F9C6h7Bo; arc=pass (i=1 dkim=pass dkdomain=intel.com dmarc=pass fromdomain=linux.intel.com); spf=pass (google.com: domain of linux-kernel+bounces-48391-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-48391-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com 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 398D1B247B2 for <ouuuleilei@gmail.com>; Thu, 1 Feb 2024 15:24:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F1B281292C4; Thu, 1 Feb 2024 15:21:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="F9C6h7Bo" Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.120]) (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 9E0CF77A06; Thu, 1 Feb 2024 15:21:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.55.52.120 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706800912; cv=none; b=JhageEzXODrB9uHYCO/W5TmmjOCA/rB/2NS/BVaGBIaeZEGIggoIo5h/8Zu4/2zNu+WHMUFRjw5S+iWyv8VQJ6b0DFMTJXuYlxWxSZ3YWthSwvK4zK3a5L/ofkONftMMCqFvZj7+reGSuKTT5F2vYgkllBeP5kSV2r6jf9mMQww= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706800912; c=relaxed/simple; bh=wIQGdFqlY0xAMd+07bg96OAGO6sKPhtrx96e+mX0ZBE=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ODmT/RUuqRowJ3tWVM8LzO+14JMf2QBpZ8fEfdSf1QOI0iVEvnD7KRE68yogJPgjtDdiHqaIK2th592+KSQx+bLReHwP0xivI2zXJOB1zrGX0I4LvkzUWPZa8OiC1mTOVHkLGCLN1bRyoCnQ0Q9c63PS/+2FFXb6l1RAtIffVvU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com; spf=none smtp.mailfrom=linux.intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=F9C6h7Bo; arc=none smtp.client-ip=192.55.52.120 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.intel.com Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux.intel.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1706800910; x=1738336910; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=wIQGdFqlY0xAMd+07bg96OAGO6sKPhtrx96e+mX0ZBE=; b=F9C6h7Bo9cJLXeaTQzGJ60VBTRbHYEC4iBNhAZ3Vs/fSxCdMgEcoIJPr T+Sw4RhAcxyGvNdbp/sxhogOZMtHjbFafAnkHkmJjJ88kkIO+ILFOvyNk Hg4rWdXdTQ2evhdAMWkDv6s3pgb3lRY3CIW05PCDzowVlKBWSBKdnrj11 4e7zTdH/IozfWza4uXSfgCfx/fzkylKvUdOyc27FIX2IBrbYD/BlzWYrL Y8xmwaq4nt4n4+wu+L2XEyVGcNyU730dWnnQabALNyEGSyzv3BQy33WCO IRzxfuPIQw8Al+B/E/hNn2+HPO81LFex3ZnQCp0DgSzvcks9gyF5vjASa Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10969"; a="402762457" X-IronPort-AV: E=Sophos;i="6.05,234,1701158400"; d="scan'208";a="402762457" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Feb 2024 07:21:48 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10969"; a="788953699" X-IronPort-AV: E=Sophos;i="6.05,234,1701158400"; d="scan'208";a="788953699" Received: from black.fi.intel.com ([10.237.72.28]) by orsmga002.jf.intel.com with ESMTP; 01 Feb 2024 07:21:41 -0800 Received: by black.fi.intel.com (Postfix, from userid 1003) id B8E0CBA3; Thu, 1 Feb 2024 17:15:42 +0200 (EET) From: Andy Shevchenko <andriy.shevchenko@linux.intel.com> To: Flavio Suligoi <f.suligoi@asem.it>, Andy Shevchenko <andriy.shevchenko@linux.intel.com>, dri-devel@lists.freedesktop.org, linux-fbdev@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Lee Jones <lee@kernel.org>, Daniel Thompson <daniel.thompson@linaro.org>, Jingoo Han <jingoohan1@gmail.com>, Helge Deller <deller@gmx.de> Subject: [PATCH v2 0/3] backlight: mp3309c: Allow to use on non-OF platforms Date: Thu, 1 Feb 2024 17:14:12 +0200 Message-ID: <20240201151537.367218-1-andriy.shevchenko@linux.intel.com> X-Mailer: git-send-email 2.43.0.rc1.1.gbec44491f096 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789732367438547441 X-GMAIL-MSGID: 1789732367438547441 |
Series |
backlight: mp3309c: Allow to use on non-OF platforms
|
|
Message
Andy Shevchenko
Feb. 1, 2024, 3:14 p.m. UTC
Allow to use driver on non-OF platforms and other cleanups. Changelog v2: - rename pm3309c_parse_dt_node() --> mp3309c_parse_fwnode() (Daniel) - add tags (Daniel, Flavio) - new patch 2 Andy Shevchenko (3): backlight: mp3309c: Make use of device properties backlight: mp3309c: use dev_err_probe() instead of dev_err() backlight: mp3309c: Utilise temporary variable for struct device drivers/video/backlight/mp3309c.c | 88 ++++++++++++------------------- 1 file changed, 35 insertions(+), 53 deletions(-)
Comments
Hi Andy, .. > Subject: [PATCH v2 0/3] backlight: mp3309c: Allow to use on non-OF > platforms > > Allow to use driver on non-OF platforms and other cleanups. > > Changelog v2: > - rename pm3309c_parse_dt_node() --> mp3309c_parse_fwnode() (Daniel) > - add tags (Daniel, Flavio) > - new patch 2 > > Andy Shevchenko (3): > backlight: mp3309c: Make use of device properties > backlight: mp3309c: use dev_err_probe() instead of dev_err() > backlight: mp3309c: Utilise temporary variable for struct device .. I've just tested again all your three patches (using the last 8.8.0-rc1 for-backlight-next ) on my board and all is ok. Thanks, Flavio
On Fri, Feb 02, 2024 at 10:52:32AM +0000, Flavio Suligoi wrote: > > Andy Shevchenko (3): > > backlight: mp3309c: Make use of device properties > > backlight: mp3309c: use dev_err_probe() instead of dev_err() > > backlight: mp3309c: Utilise temporary variable for struct device > I've just tested again all your three patches (using the last 8.8.0-rc1 > for-backlight-next ) on my board and all is ok. Thank you!
On Thu, 01 Feb 2024, Andy Shevchenko wrote: > Allow to use driver on non-OF platforms and other cleanups. > > Changelog v2: > - rename pm3309c_parse_dt_node() --> mp3309c_parse_fwnode() (Daniel) > - add tags (Daniel, Flavio) > - new patch 2 > > Andy Shevchenko (3): > backlight: mp3309c: Make use of device properties > backlight: mp3309c: use dev_err_probe() instead of dev_err() > backlight: mp3309c: Utilise temporary variable for struct device > > drivers/video/backlight/mp3309c.c | 88 ++++++++++++------------------- > 1 file changed, 35 insertions(+), 53 deletions(-) Set no longer applies. Please rebase, thanks.
On Thu, 01 Feb 2024 17:14:12 +0200, Andy Shevchenko wrote: > Allow to use driver on non-OF platforms and other cleanups. > > Changelog v2: > - rename pm3309c_parse_dt_node() --> mp3309c_parse_fwnode() (Daniel) > - add tags (Daniel, Flavio) > - new patch 2 > > [...] Applied, thanks! [1/3] backlight: mp3309c: Make use of device properties commit: e531c279ddee738260a94b2121836549ea167f63 [2/3] backlight: mp3309c: use dev_err_probe() instead of dev_err() commit: d991269f64928051c895151a8589dce806a92d9e [3/3] backlight: mp3309c: Utilise temporary variable for struct device (no commit info) -- Lee Jones [李琼斯]
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 (1) that may not be found in your tree currently.
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 4. I sent you a message to say that the set failed to apply 5. *** I forgot to remove the 2 successful patches *** 6. I applied another patch 7. b4 noticed the 2 patches that were applied and thanked you for them 8. *** I didn't notice that those tys were sent *** No need to update the scripts. :) > (1) that may not be found in your tree currently. I'm going to remove the other ones now. Please submit the set.
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? > 4. I sent you a message to say that the set failed to apply > 5. *** I forgot to remove the 2 successful patches *** > 6. I applied another patch > 7. b4 noticed the 2 patches that were applied and thanked you for them > 8. *** I didn't notice that those tys were sent *** > > No need to update the scripts. :) > > > (1) that may not be found in your tree currently. > > I'm going to remove the other ones now. Please submit the set. I'll do, but I want to understand better what's going on.
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 <daniel.thompson@linaro.org> (✓ DKIM/linaro.org) + Link: https://lore.kernel.org/r/20240201151537.367218-2-andriy.shevchenko@linux.intel.com + Signed-off-by: Lee Jones <lee@kernel.org> ✓ [PATCH v2 2/3] backlight: mp3309c: use dev_err_probe() instead of dev_err() + Tested-by: Flavio Suligoi <f.suligoi@asem.it> (✗ DKIM/asem.it) + Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org> (✓ DKIM/linaro.org) + Link: https://lore.kernel.org/r/20240201151537.367218-3-andriy.shevchenko@linux.intel.com + Signed-off-by: Lee Jones <lee@kernel.org> ✓ [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 <lee@kernel.org> --- ✓ 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".
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 <daniel.thompson@linaro.org> (✓ DKIM/linaro.org) > + Link: https://lore.kernel.org/r/20240201151537.367218-2-andriy.shevchenko@linux.intel.com > + Signed-off-by: Lee Jones <lee@kernel.org> > ✓ [PATCH v2 2/3] backlight: mp3309c: use dev_err_probe() instead of dev_err() > + Tested-by: Flavio Suligoi <f.suligoi@asem.it> (✗ DKIM/asem.it) > + Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org> (✓ DKIM/linaro.org) > + Link: https://lore.kernel.org/r/20240201151537.367218-3-andriy.shevchenko@linux.intel.com > + Signed-off-by: Lee Jones <lee@kernel.org> > ✓ [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 <lee@kernel.org> > --- > ✓ 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.
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 <daniel.thompson@linaro.org> (✓ DKIM/linaro.org) > > + Link: https://lore.kernel.org/r/20240201151537.367218-2-andriy.shevchenko@linux.intel.com > > + Signed-off-by: Lee Jones <lee@kernel.org> > > ✓ [PATCH v2 2/3] backlight: mp3309c: use dev_err_probe() instead of dev_err() > > + Tested-by: Flavio Suligoi <f.suligoi@asem.it> (✗ DKIM/asem.it) > > + Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org> (✓ DKIM/linaro.org) > > + Link: https://lore.kernel.org/r/20240201151537.367218-3-andriy.shevchenko@linux.intel.com > > + Signed-off-by: Lee Jones <lee@kernel.org> > > ✓ [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 <lee@kernel.org> > > --- > > ✓ 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?
On Fri, Feb 09, 2024 at 07:50:52AM +0000, Lee Jones wrote: > 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 <daniel.thompson@linaro.org> (✓ DKIM/linaro.org) > > > + Link: https://lore.kernel.org/r/20240201151537.367218-2-andriy.shevchenko@linux.intel.com > > > + Signed-off-by: Lee Jones <lee@kernel.org> > > > ✓ [PATCH v2 2/3] backlight: mp3309c: use dev_err_probe() instead of dev_err() > > > + Tested-by: Flavio Suligoi <f.suligoi@asem.it> (✗ DKIM/asem.it) > > > + Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org> (✓ DKIM/linaro.org) > > > + Link: https://lore.kernel.org/r/20240201151537.367218-3-andriy.shevchenko@linux.intel.com > > > + Signed-off-by: Lee Jones <lee@kernel.org> > > > ✓ [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 <lee@kernel.org> > > > --- > > > ✓ 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? No special config, but can be done via aliasing (through function) E.g., git() { if [ "$1" = 'am' ]; then shift /usr/bin/git am -C1 "$@" else /usr/bin/git "$@" fi }
On Thu, 01 Feb 2024 17:14:12 +0200, Andy Shevchenko wrote: > Allow to use driver on non-OF platforms and other cleanups. > > Changelog v2: > - rename pm3309c_parse_dt_node() --> mp3309c_parse_fwnode() (Daniel) > - add tags (Daniel, Flavio) > - new patch 2 > > [...] Applied, thanks! [1/3] backlight: mp3309c: Make use of device properties commit: b6fc7e62a7afc3709b31f6779665c7fc4a7755d7 [2/3] backlight: mp3309c: use dev_err_probe() instead of dev_err() (no commit info) [3/3] backlight: mp3309c: Utilise temporary variable for struct device (no commit info) -- Lee Jones [李琼斯]