Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp2940292pxf; Sun, 21 Mar 2021 12:14:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxgQvMk96HFOpCsPLePBpfU5FyB7HX0/PusXPWoAGnmRCdXAhG/2/bnzOE1sNvDypO12gEv X-Received: by 2002:a50:fb10:: with SMTP id d16mr22284417edq.73.1616354083402; Sun, 21 Mar 2021 12:14:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616354083; cv=none; d=google.com; s=arc-20160816; b=a/Kg8GJkOhpzGGf0WfNcB2A9QMGhfIppKm4KxNLyWVha7n1aK0x3rwniWMEBsBuTae w98Tjs/W9cAOlvlpIFiOd5xTCqwh1swCWrx3h4hiOsa9ozAgxJ531XG+QK0K2p0KP7fv jLZf6eQldrm2I3+2+jnYJl2kdZWOPXuyFfgSy2ew6EpgJfBbw/mhc4NqrTwKRXGIiliP wnei5fKT7RUkwddTDRiEukDDw9SyLoeFjD3/VrEBKWEacADGmuv4vt4QANCSiXmKAgDO PzvM1O05zYvPC3dAhx3bZdPk9nze7ZrQRy5WbvGfhK8vrH3W/ysjpV8e8WKPmYyLGVhY 6P4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:user-agent :references:in-reply-to:subject:cc:to:from:date:mime-version :dkim-signature; bh=q0FS/C96/vfAihejESN8OfLxNkKjCCDPfyVrgBI7WZI=; b=raavYiDyXNbl2JHJGXqcT7cmM78H7s7VT9lWLIl657S6y5Sk4pQv4r5Uce08v6I/5G dpUf/4BAE5KkYqoK1tGndY3Y2e7XLKds1g7aqr8s+FZuqksZvl3Po8SsAbW8AIGDc+F6 79tgYZPgp9Dqv8bU+vVFvlS0e/XgasoajlSn0ZIprv4U+MNZaPfEBXeymJtLe3Msj3RV JWrmng/PORxOzylcjlorqqKe8eau47JXzVpJBfhUYnwEtnj8H2mhiJnhAyMTZ/8AWYl2 NWCspBkIGGC/Q+lzzb+PbBlFQGo6N1ECBl+37LHV2k4pPTpuScpD0G+rHMBYzYvG7He4 l0lg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@kapsi.fi header.s=20161220 header.b=ktiMTTvh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n7si9867058ejc.483.2021.03.21.12.14.20; Sun, 21 Mar 2021 12:14:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=fail header.i=@kapsi.fi header.s=20161220 header.b=ktiMTTvh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230178AbhCUTLD (ORCPT + 99 others); Sun, 21 Mar 2021 15:11:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230064AbhCUTKp (ORCPT ); Sun, 21 Mar 2021 15:10:45 -0400 Received: from mail.kapsi.fi (mail.kapsi.fi [IPv6:2001:67c:1be8::25]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4E94C061574 for ; Sun, 21 Mar 2021 12:10:44 -0700 (PDT) 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 Cc: tomba@kernel.org, airlied@linux.ie, daniel@ffwll.ch, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org 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 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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, > },