Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1296837imu; Thu, 20 Dec 2018 13:44:32 -0800 (PST) X-Google-Smtp-Source: AFSGD/Xo+6ypnye/qCjfkXAmYIfWZfb+8dFlsgA/rxJAvoGSv8rzG2hm+E/cyvkyBQj5M/+a4hzi X-Received: by 2002:a62:36c1:: with SMTP id d184mr26091529pfa.242.1545342272549; Thu, 20 Dec 2018 13:44:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545342272; cv=none; d=google.com; s=arc-20160816; b=sCvumVUHsWHseXEDP8dsqyy7mmqiume5SBhVCqLeSlhw88gN+u4T6cCg+W2+x17lHY MAeAeHL9NRd3qK82/En5jkItmITL5rDIGc/rVdFswbNoqRKWq6gDCRfHvGNwqHw4J/+t OjgweIMpZGrG5Qsdaope8wy8i5yDKCnTRSejy29mFgVDKwSeTJKCgzfgXsKgu7EBuhID g13TwAL9S/yf+HLdUMky/dkOxWopVGWgqWbT8TMOpQeINi4EUHkxA5qaL2Yy3Y0Vj8VI uIdt3dvF9GNA2Wai/cFSsHDNnPdKI8xTbc8+kaXWdLv46iwsPZSU05STI4NFOq7QN6zv MhAA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=evFPKsEg+uPJhMf0jnt9a5FV1SgNua3Tw/qn+yPgmHg=; b=Vf9Zlo9fbClv2Bz/Z4Ts5GwvEgLdgv9OcfB9+1V3Gk5CaM+2zhpxlyRbzdMFy+5C44 EuuY8zQGsWrIXvNLfX1f9DXCDuSHuEmPh72OGHdrs+w1uuN8WQE6wio3P/mzUq5HD+Wz 2sgiFkeY7JQZmJsjQeDjxkc0X5G8bQbQ8GoLZDIrJFQPJENVyFuApoH0A4Ccs05riIcm 3uA6kb6oENUDH+jAkQWy4/W5lY4/YofMN15AFkgAU7Eachj+57d3mc5jz7fNFvabRpVj 1b3g9qqdtzLVMHBD0+VqmMiObN9t/7qG2d2aNQEh6KPuTuTJ3RcX04Crug14ODaP2wY6 SunA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b1si19715266plc.332.2018.12.20.13.44.16; Thu, 20 Dec 2018 13:44:32 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732644AbeLTQKh (ORCPT + 99 others); Thu, 20 Dec 2018 11:10:37 -0500 Received: from mail-ot1-f68.google.com ([209.85.210.68]:40862 "EHLO mail-ot1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732578AbeLTQKc (ORCPT ); Thu, 20 Dec 2018 11:10:32 -0500 Received: by mail-ot1-f68.google.com with SMTP id s5so2382531oth.7; Thu, 20 Dec 2018 08:10:32 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=evFPKsEg+uPJhMf0jnt9a5FV1SgNua3Tw/qn+yPgmHg=; b=jyw5Ph4rlQwWwT5JAmPEUaJSf1JWUAeEJtLHcKszgTUXNSIxYsM30lmqfVkqr8aQaK bakuM7YNia0B9//p4khQ02BxeCHGsW7ljVX3nnJRfysgO+zox4Gbx8o6CPqffVoWscjP qzDLcCalM72rV3eOnEx3Wp8qLJe53/hu+wZ+ZeTLfiMzZ7+T6FQbrqEGHKNt8liIXZ0M IYzeqntMMDcDYD940YqibYYhlyjWeK8/JjbX4pYSBGI6Ol5Zu1sH3Du9iknE+9tmNT+d eZ2VeWjTcgLMwy96CVXkLLooMRiIWz/Rr34e1SfLgXFXIm+ps6P2vI9OSrOaDxn+Pk0l 2nnA== X-Gm-Message-State: AA+aEWac997DTo4SMr/mlml2rKmoYnRCWZPwCC9v4QhagpzAwHuOnVgD WtwfDTLonPx5fGL7hSNNcDsdNqmuxllMHulkGNqG8w== X-Received: by 2002:a9d:22a:: with SMTP id 39mr19611100otb.354.1545322231949; Thu, 20 Dec 2018 08:10:31 -0800 (PST) MIME-Version: 1.0 References: <20181207125844.18775-1-malat@debian.org> In-Reply-To: <20181207125844.18775-1-malat@debian.org> From: Mathieu Malaterre Date: Thu, 20 Dec 2018 17:10:20 +0100 Message-ID: Subject: Re: [PATCH] video: offb: Pass actual name in offb_init_palette_hacks To: Rob Herring Cc: "# v4 . 11" , Bartlomiej Zolnierkiewicz , dri-devel , Linux Fbdev development list , LKML Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Rob, any comment ? On Fri, Dec 7, 2018 at 1:59 PM Mathieu Malaterre wrote: > > This is a partial revert of commit 5c63e407aaab ("fbdev: Convert to > using %pOFn instead of device_node.name"). This is the minimal work to > get a Mac Mini G4 back to a bootable state. The function > offb_init_palette_hacks would need to handle the case where `name` has > been set to NULL. > > Cc: Rob Herring > Fixes: 5c63e407aaab ("fbdev: Convert to using %pOFn instead of device_node.name") > Cc: stable@vger.kernel.org # v4.19+ > Signed-off-by: Mathieu Malaterre > --- > drivers/video/fbdev/offb.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/video/fbdev/offb.c b/drivers/video/fbdev/offb.c > index 31f769d67195..6e75851f8142 100644 > --- a/drivers/video/fbdev/offb.c > +++ b/drivers/video/fbdev/offb.c > @@ -648,7 +648,7 @@ static void __init offb_init_nodriver(struct device_node *dp, int no_real_node) > /* kludge for valkyrie */ > if (strcmp(dp->name, "valkyrie") == 0) > address += 0x1000; > - offb_init_fb(no_real_node ? "bootx" : NULL, > + offb_init_fb(no_real_node ? "bootx" : dp->name, > width, height, depth, pitch, address, > foreign_endian, no_real_node ? NULL : dp); > } > -- > 2.19.2 >