Message ID | 20230306100722.28485-11-johan+linaro@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp1755715wrd; Mon, 6 Mar 2023 02:10:47 -0800 (PST) X-Google-Smtp-Source: AK7set9GAOkZAoa7KnP5SfWqx451Xj3ZEhZaicXAdEU1lg36oZVLXXQZtQBMOLwB97N7KkN5vV1r X-Received: by 2002:aa7:d390:0:b0:4ac:bdeb:6dce with SMTP id x16-20020aa7d390000000b004acbdeb6dcemr9126311edq.39.1678097447807; Mon, 06 Mar 2023 02:10:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678097447; cv=none; d=google.com; s=arc-20160816; b=ypBGpJnxzIHOAhmIwr493fLcGUHjfyiS5C4hITjFZwjpzGmyGbtY8tHDcgnmvUeuzD pGnAcHxrz0gdffs4Tc6pwXDQLkoV98cJbpjLqUf6F1RFHVBYmuOr42yWNyx7R56/F/s5 jTYaFp1yhzSaKfV5afnNydD/vjW/QNOS65Bcy68QXU7VaMYVCuPRvgKve8iBVtsdQGoE d0filkfyhyoHEBi9Hk68ZuFoGEZElhHzmoF8EEy8mu7SzA6KeMxCT0aGksI+GW6pb3vq 4rZndYQaBSehKvp9kQlGuf5huSlLSeZQowEX0Msh5mh1e7Hva4UJFVPjJhe8WQ3IM5vT oyFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Y0lBtXnfrihkpC4XDcuRlvcb0sgP8slO6q8XPcz2Xhw=; b=rDsHWcNuHY6mnoagnmKeybK1NoeqAamm+J8mqxoTYFva74mvu+0uGyYNx5rug85qw5 6Yn3wRqQ45+ruXO1TOrL+VSWjrI902hqxNHMIra/8siIrr880Tj+YHATXli1vxhgUqu5 4pFJq98UIYOgRRcNQpHDxEM1+lF8iX4npbRNJehyZm0UiQJGSMTMo9I3+HW6RBkma1s6 /dXhzhPejvpKmodAZ0+Qt1ZStBeHWXV/ZlfbZgh3KW0OC7XphssIcjoTnkToMcu9K+vO HIEcMtl0yRmQgL/2MweDJPZS5c3RcKfS+OFXz7ehrCazc47FtoHFp8jVPU9DlWFdfIfB FH6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CkpNJJst; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k19-20020a1709065fd300b008b17e88ee87si9080303ejv.537.2023.03.06.02.10.24; Mon, 06 Mar 2023 02:10:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=CkpNJJst; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230346AbjCFKJd (ORCPT <rfc822;toshivichauhan@gmail.com> + 99 others); Mon, 6 Mar 2023 05:09:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60246 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230286AbjCFKJW (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 6 Mar 2023 05:09:22 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4FFC7222F1; Mon, 6 Mar 2023 02:09:21 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 0B85C60DCB; Mon, 6 Mar 2023 10:09:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 14371C43445; Mon, 6 Mar 2023 10:09:19 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1678097359; bh=b151yW+qXdaWwZr+uJKZCMaPRLko8VNYQPQR6bpEA/Y=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=CkpNJJsthW0e/lsNOja6kI178cQAVWSxRPwJbe7ITZtDKyFNkVC0OwHWMoVq1Wi0/ 6BhvtipTNV0HHiROwWY7E6EaLKiedZoxV5zlzzNs+mTHAFkuVN893iP1O1K3GJyQi3 VlDEVI45ff/2yTwyIrpuD1Tfri98WoFyyXeAOX3BuAIEnjdNndeb3RomSmR4iN+H0h DZqR399MX86QV7gYtONI5PdqJPsG/oNlxMkNCPfW/rjAy8xuXXsjhptPYN9LBxpLwj 8U8gU8Q3afvyLi+8J8FOETfZGBBNWhLBbdqD43+0DIIfW9sexuM+hjmIafGEedRj7D n9PhgmHrzhLIg== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from <johan+linaro@kernel.org>) id 1pZ7n5-0007R0-Q4; Mon, 06 Mar 2023 11:09:59 +0100 From: Johan Hovold <johan+linaro@kernel.org> To: Rob Clark <robdclark@gmail.com>, Abhinav Kumar <quic_abhinavk@quicinc.com>, Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Cc: Sean Paul <sean@poorly.run>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, linux-arm-msm@vger.kernel.org, dri-devel@lists.freedesktop.org, freedreno@lists.freedesktop.org, linux-kernel@vger.kernel.org, Johan Hovold <johan+linaro@kernel.org> Subject: [PATCH 10/10] drm/msm: move include directive Date: Mon, 6 Mar 2023 11:07:22 +0100 Message-Id: <20230306100722.28485-11-johan+linaro@kernel.org> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230306100722.28485-1-johan+linaro@kernel.org> References: <20230306100722.28485-1-johan+linaro@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1759612709064963611?= X-GMAIL-MSGID: =?utf-8?q?1759612709064963611?= |
Series |
drm/msm: fix bind error handling
|
|
Commit Message
Johan Hovold
March 6, 2023, 10:07 a.m. UTC
Move the include of of_address.h to the top of the file where it
belongs.
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
---
drivers/gpu/drm/msm/msm_drv.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
Comments
On 06/03/2023 12:07, Johan Hovold wrote: > Move the include of of_address.h to the top of the file where it > belongs. > > Signed-off-by: Johan Hovold <johan+linaro@kernel.org> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> > --- > drivers/gpu/drm/msm/msm_drv.c | 3 +-- > 1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/gpu/drm/msm/msm_drv.c b/drivers/gpu/drm/msm/msm_drv.c index ade17947d1e5..42ae7575622b 100644 --- a/drivers/gpu/drm/msm/msm_drv.c +++ b/drivers/gpu/drm/msm/msm_drv.c @@ -8,6 +8,7 @@ #include <linux/dma-mapping.h> #include <linux/fault-inject.h> #include <linux/kthread.h> +#include <linux/of_address.h> #include <linux/sched/mm.h> #include <linux/uaccess.h> #include <uapi/linux/sched/types.h> @@ -272,8 +273,6 @@ static int msm_drm_uninit(struct device *dev) return 0; } -#include <linux/of_address.h> - struct msm_gem_address_space *msm_kms_init_aspace(struct drm_device *dev) { struct msm_gem_address_space *aspace;