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=-13.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 0653DC433C1 for ; Sun, 21 Mar 2021 19:10:47 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4C92B61934 for ; Sun, 21 Mar 2021 19:10:46 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4C92B61934 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=iki.fi Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A54B26E063; Sun, 21 Mar 2021 19:10:45 +0000 (UTC) Received: from mail.kapsi.fi (mail.kapsi.fi [IPv6:2001:67c:1be8::25]) by gabe.freedesktop.org (Postfix) with ESMTPS id 790E06E063 for ; Sun, 21 Mar 2021 19:10:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kapsi.fi; s=20161220; h=Content-Transfer-Encoding:Content-Type:Message-ID:References: In-Reply-To:Subject:Cc:To:From:Date:MIME-Version:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=q0FS/C96/vfAihejESN8OfLxNkKjCCDPfyVrgBI7WZI=; b=ktiMTTvhY/xlB5EDVdM5t2WrP9 GEodEAO9KLkL9Bhdp16uj3q2nE2a5pvz210mI1lnpkCBuLIa/vNcZND8V4yvX6neG2ndHxHK3yT8k aRpX9m+SZSV85cXuuB4FGNPsYS/WEUWRfVoMiklOJ/7+YXzZf2VsbbqvkoptX1yoeSbydVM7Di+Nc OX2aQ18HBvs8j43RihsF7w95LEdzvCQOokzbYtoPS9Y5X0RTCZO8RIABBQ0C9nHr9r5nb9sK8k0B2 1Zfp9lnUzKGRjKTCvMSqkxavSjcTG86m36k7/QjdQJp9aKb8055lNMQgnnxTlk96IW5ANZ+oxcFv0 ba0ENzgw==; Received: from webng-gw.kapsi.fi ([91.232.154.200] helo=roundcube.kapsi.fi) by mail.kapsi.fi with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.89) (envelope-from ) id 1lO3TC-0006d0-Vm; Sun, 21 Mar 2021 21:10:39 +0200 MIME-Version: 1.0 Date: Sun, 21 Mar 2021 21:10:36 +0200 From: Jyri Sarha To: Yang Li Subject: Re: [PATCH] drm/tilcdc: panel: fix platform_no_drv_owner.cocci warnings In-Reply-To: <1614762267-98454-1-git-send-email-yang.lee@linux.alibaba.com> References: <1614762267-98454-1-git-send-email-yang.lee@linux.alibaba.com> User-Agent: Roundcube Webmail/1.4.11 Message-ID: <0c5ff308f0bc71b847c805851a6f727c@iki.fi> X-Sender: jyri.sarha@iki.fi X-SA-Exim-Connect-IP: 91.232.154.200 X-SA-Exim-Mail-From: jyri.sarha@iki.fi X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: airlied@linux.ie, dri-devel@lists.freedesktop.org, tomba@kernel.org, linux-kernel@vger.kernel.org Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On 2021-03-03 11:04, Yang Li wrote: > ./drivers/gpu/drm/tilcdc/tilcdc_panel.c:402:3-8: No need to set .owner > here. The core will do it. > > Remove .owner field if calls are used which set it automatically > > Reported-by: Abaci Robot > Signed-off-by: Yang Li Reviewed-by: Jyri Sarha I'll merge this soon to drm-misc-next. Best regards, Jyri > --- > drivers/gpu/drm/tilcdc/tilcdc_panel.c | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/gpu/drm/tilcdc/tilcdc_panel.c > b/drivers/gpu/drm/tilcdc/tilcdc_panel.c > index 00efc30..4235780 100644 > --- a/drivers/gpu/drm/tilcdc/tilcdc_panel.c > +++ b/drivers/gpu/drm/tilcdc/tilcdc_panel.c > @@ -399,7 +399,6 @@ static int panel_remove(struct platform_device > *pdev) > .probe = panel_probe, > .remove = panel_remove, > .driver = { > - .owner = THIS_MODULE, > .name = "tilcdc-panel", > .of_match_table = panel_of_match, > }, _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel