Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp1092034imm; Thu, 4 Oct 2018 08:05:23 -0700 (PDT) X-Google-Smtp-Source: ACcGV60WqaaQ+NL4mnUulWjaBWjTSxKOsIUy2rdE+/vUeop6Yngm5JgBdRc012H0nxck59QBmMUF X-Received: by 2002:a17:902:3041:: with SMTP id u59-v6mr6912449plb.99.1538665523930; Thu, 04 Oct 2018 08:05:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538665523; cv=none; d=google.com; s=arc-20160816; b=phGfs23x5h4nbiMb4s2THODJ88qLFWo+Ool64xlPH42X9/5bEd/8o2p99xHmwC4gq+ XdIjZaTEiCKOzBBvouCIRyS70dJSu267czmdKvgv1lsMCQTIzsOUGrnnT8BEeKfCsTNa oHa5fpGysKXpejRnY3b+IjtoQF4Pj4ixvNw7HocB0iOSTjOBCaCvVM+du0j//jU+/sPs Uit9p8K4B2j2gjUX/8qCx3K7tll5+Ma9qbTLTgtog++rj15RxiqDN80kJwHM3D1wn71d d7UZDfrQovjFH/BbFyCPQ56oXipRFKeMpb8I7Euzl9SLHmbouSB5HgkoP0E1qs70RJiJ ACfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=6DNe+4popAOgCV14rTDtB+Cwvb4D7QTFS0sg5UMt8hg=; b=coVz3jgphcMRN3QMQ8nAKsALb+bIYU0ENma7sSCOhJTA+aPwyZjFbuTLd/IskQ2uvM aobEa9PG+eYL2HbRAQOSZF8WFKWjEZ9RAaIWdBkxbv7EqYtQjO1m9y+3IdVz8qEQwY3W s8+MuzQEY+YWlwHorN5lp9lRR9uo8GZJHTiRiRGypviJWUdYlYRvnsci9SfOy7GIs6QJ /jmISrQGEcA0z5UojLGlPlfo5HU5jnnBSZx8Ipvicu1MopTrhb+Z8QdesVaWDI5nu2NZ Z51gMEyzycKHbKinE/1uOzqVQJM6lqpFpzbDqPS+U29NoelKGNSi3izWw/H7CsY+hTK6 un+A== 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 b11-v6si5947690plb.401.2018.10.04.08.05.08; Thu, 04 Oct 2018 08:05:23 -0700 (PDT) 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 S1727588AbeJDV6T convert rfc822-to-8bit (ORCPT + 99 others); Thu, 4 Oct 2018 17:58:19 -0400 Received: from mail-qk1-f194.google.com ([209.85.222.194]:38452 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727354AbeJDV6T (ORCPT ); Thu, 4 Oct 2018 17:58:19 -0400 Received: by mail-qk1-f194.google.com with SMTP id 204-v6so5930129qkd.5 for ; Thu, 04 Oct 2018 08:04:38 -0700 (PDT) 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:content-transfer-encoding; bh=DnD8cttT5zIM/FpVR2gKnX4yxDJPS1ytyJ9JkzDajHM=; b=cW+vDjHEmFuTN//hKnttnPmb3hsoK2sYA1Hkk4mDhFG49xE6zk2OfVDcbvNYSf44+5 BSB0165rDLus7nGI2TBoSfFoXha1oqLFXZz9HdUR3h+UU+5884GHe71csHxAREEIxLnM 04BcMGZ3Xw66Wl9fzqIg7/K3htr87AJji1InvDYLLZB4nRXj2giXgZ2sWOeIWAKnHQqt k+bH616g86nLABzMp6afO78SmbNWDSUxJeO4Xh+b5H7xIvA98TveXy3MqsGaR4Vp9cnU lJX3+P9JftxiCK88xblfgU1p3l3JigcF5+NrMeSERbluaX33G5R2REH18qwZ5foln6s9 m5LQ== X-Gm-Message-State: ABuFfoiqE8dsxxsj2ZCBbHPWXVuQtWPMRhvgIM/a3hn7q/fBO5KpGOAD iPBkTNRGtEr0S8GYlJ1+WyAxx6OP41KFipdu4SxsnQ== X-Received: by 2002:a37:7347:: with SMTP id o68-v6mr5575762qkc.291.1538665477827; Thu, 04 Oct 2018 08:04:37 -0700 (PDT) MIME-Version: 1.0 References: <20181002205836.2323084-1-arnd@arndb.de> <123f7e1c-8f2b-5797-de16-650ec01d0b24@tronnes.org> <20181003161326.GD31561@phenom.ffwll.local> In-Reply-To: From: Arnd Bergmann Date: Thu, 4 Oct 2018 17:04:21 +0200 Message-ID: Subject: Re: [PATCH] drm/imx: move 'legacyfb_depth' definition out of #ifdef To: noralf@tronnes.org Cc: Daniel Vetter , Philipp Zabel , David Airlie , Lucas Stach , Sam Ravnborg , Souptick Joarder , Leonard Crestez , tzimmermann@suse.de, dri-devel , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 4, 2018 at 4:43 PM Noralf Trønnes wrote: > Den 04.10.2018 09.48, skrev Daniel Vetter: > > On Wed, Oct 3, 2018 at 9:51 PM Arnd Bergmann wrote: > >> On Wed, Oct 3, 2018 at 6:13 PM Daniel Vetter wrote: > >>> On Wed, Oct 03, 2018 at 05:49:32PM +0200, Noralf Trønnes wrote: > >>>> > >>>> Den 02.10.2018 22.58, skrev Arnd Bergmann: > >>>>> The variable is now referenced unconditionally, but still > >>>>> declared in an #ifdef: > >>>>> > >>>>> drivers/gpu/drm/imx/imx-drm-core.c: In function 'imx_drm_bind': > >>>>> drivers/gpu/drm/imx/imx-drm-core.c:264:6: error: 'legacyfb_depth' undeclared (first use in this function); did you mean 'lockdep_depth'? > >>>>> > >>>>> Remove the #ifdef so it can always be accessed. > >>>>> > >>>>> Fixes: f53705fd9803 ("drm/imx: Use drm_fbdev_generic_setup()") > >>>>> Signed-off-by: Arnd Bergmann > >>>>> --- > >>>> I've already applied the previous one you sent: > >>>> https://cgit.freedesktop.org/drm/drm-misc/commit/?id=064b06bbf117f8b5e64a5143e970d5a1cf602fd6 > >>>> > >>>> Not sure when it reaches linux-next now that we are past rc6. > >>> Only once we're past -rc1. > >> Can we revert f53705fd9803 in linux-next then to prevent the regression from > >> making it into 4.20? > > Probably simpler to cherry pick the fix from drm-misc-next to > > drm-misc-next-fixes. Noralf, can you pls do that? > > Would this be the correct procudure: > > dim update-branches > dim create-workdir drm-misc-next-fixes > > CONFIG_DRM_FBDEV_EMULATION=n > > git cherry-pick 064b06bbf117f8b5e64a5143e970d5a1cf602fd6 > > dim push-branch drm-misc-next-fixes > > I read that cherry picking creates a new commit with a new hash. > But since you ask me to do this, I assume git will handle this when > branches are merged? The git history will show both commit IDs, which is a bit ugly but ok if it's rare enough. There is a chance for creating a conflict if the backport changes context, or one branch contains extra changes that touch the same lines, but usually this is not a problem. Arnd