From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.7 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id AD239C433FE for ; Tue, 21 Sep 2021 19:29:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 926AA61050 for ; Tue, 21 Sep 2021 19:29:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234500AbhIUTbU (ORCPT ); Tue, 21 Sep 2021 15:31:20 -0400 Received: from gloria.sntech.de ([185.11.138.130]:42626 "EHLO gloria.sntech.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229519AbhIUTbS (ORCPT ); Tue, 21 Sep 2021 15:31:18 -0400 Received: from ip5f5a6e92.dynamic.kabel-deutschland.de ([95.90.110.146] helo=diego.localnet) by gloria.sntech.de with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mSlSZ-0004Qy-Ih; Tue, 21 Sep 2021 21:29:43 +0200 From: Heiko =?ISO-8859-1?Q?St=FCbner?= To: Palmer Dabbelt Cc: Arnd Bergmann , hjc@rock-chips.com, kernel-team@android.com, dri-devel@lists.freedesktop.org, geert+renesas@glider.be, airlied@linux.ie, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-rockchip@lists.infradead.org, daniel@ffwll.ch Subject: Re: [PATCH v2] drm/rockchip: cdn-dp-core: Fix cdn_dp_resume unused warning Date: Tue, 21 Sep 2021 21:29:41 +0200 Message-ID: <2662894.r5Zzv63rEP@diego> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Am Dienstag, 21. September 2021, 17:04:10 CEST schrieb Palmer Dabbelt: > On Tue, 21 Sep 2021 02:12:17 PDT (-0700), heiko@sntech.de wrote: > > On Fri, 10 Sep 2021 20:43:18 -0700, Palmer Dabbelt wrote: > >> cdn_dp_resume is only used under PM_SLEEP, and now that it's static an > >> unused function warning is triggered undner !PM_SLEEP. This marks the > >> function as possibly unused, to avoid triggering compiler warnings. > > > > Applied, thanks! > > > > [1/1] drm/rockchip: cdn-dp-core: Fix cdn_dp_resume unused warning > > commit: f7c57a4566115657c16fd6603b6ef8a21bae5194 > > I'm not quite sure where that lives, but is it applied on top of > something or is it merged from the tag? Like I said a bit below this in > the original patch, this has started to break the build for me and I'd > like to pull it in as soon as possible. The patch now lives here: https://cgit.freedesktop.org/drm/drm-misc/commit/?h=drm-misc-fixes&id=f7c57a4566115657c16fd6603b6ef8a21bae5194 This is the drm-misc tree, with the patch living in the drm-misc-fixes branch, which targets the current rc-kernels. drm-misc-* moves into the core drm tree and from there on to Linus. Hope that helps Heiko