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=-13.2 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 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 4F18FC388F9 for ; Wed, 11 Nov 2020 09:26:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id F24A32072C for ; Wed, 11 Nov 2020 09:26:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727210AbgKKJ04 (ORCPT ); Wed, 11 Nov 2020 04:26:56 -0500 Received: from mga06.intel.com ([134.134.136.31]:45568 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726537AbgKKJ0y (ORCPT ); Wed, 11 Nov 2020 04:26:54 -0500 IronPort-SDR: fBRpZYtmBLeCvIkal7IL/CQmSNZzg5B4akzMd76kAsF4B4zixl+yJD4Fh5qa+rS01BLPRj5xu7 C6sWNXDA7Sjw== X-IronPort-AV: E=McAfee;i="6000,8403,9801"; a="231744843" X-IronPort-AV: E=Sophos;i="5.77,469,1596524400"; d="scan'208";a="231744843" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Nov 2020 01:26:48 -0800 IronPort-SDR: SGPG1oKhTolftkcIEFn7YBxibH1DLGjazW3opujbsd5bTZA9MkA+uRVnYagHnV3hm2CECfFZ0U uL8BMfVCSnSg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,469,1596524400"; d="scan'208";a="360497139" Received: from lkp-server02.sh.intel.com (HELO 5b2c7e53fe46) ([10.239.97.151]) by fmsmga002.fm.intel.com with ESMTP; 11 Nov 2020 01:26:46 -0800 Received: from kbuild by 5b2c7e53fe46 with local (Exim 4.92) (envelope-from ) id 1kcmOr-00003S-Kj; Wed, 11 Nov 2020 09:26:45 +0000 Date: Wed, 11 Nov 2020 17:25:59 +0800 From: kernel test robot To: Lars Poeschel Cc: kbuild-all@lists.01.org, Linux Memory Management List , Miguel Ojeda , Miguel Ojeda Sandonis , linux-kernel@vger.kernel.org Subject: [PATCH] auxdisplay: fix platform_no_drv_owner.cocci warnings Message-ID: <20201111092559.GA67395@c88ae2e89e59> References: <202011111755.9Uwp2gF6-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202011111755.9Uwp2gF6-lkp@intel.com> X-Patchwork-Hint: ignore User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: kernel test robot drivers/auxdisplay/lcd2s.c:373:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Fixes: 8c9108d014c5 ("auxdisplay: add a driver for lcd2s character display") CC: Lars Poeschel Reported-by: kernel test robot Signed-off-by: kernel test robot --- tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master head: 3e14f70c05cda4794901ed8f976de3a88deebcc0 commit: 8c9108d014c5bd0f0da2e3544eb45dc56a6da92b [2648/5074] auxdisplay: add a driver for lcd2s character display lcd2s.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/auxdisplay/lcd2s.c +++ b/drivers/auxdisplay/lcd2s.c @@ -370,7 +370,6 @@ MODULE_DEVICE_TABLE(of, lcd2s_of_table); static struct i2c_driver lcd2s_i2c_driver = { .driver = { .name = "lcd2s", - .owner = THIS_MODULE, #ifdef CONFIG_OF .of_match_table = of_match_ptr(lcd2s_of_table), #endif From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============7689793612277286693==" MIME-Version: 1.0 From: kernel test robot To: kbuild-all@lists.01.org Subject: [PATCH] auxdisplay: fix platform_no_drv_owner.cocci warnings Date: Wed, 11 Nov 2020 17:25:59 +0800 Message-ID: <20201111092559.GA67395@c88ae2e89e59> In-Reply-To: <202011111755.9Uwp2gF6-lkp@intel.com> List-Id: --===============7689793612277286693== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: kernel test robot drivers/auxdisplay/lcd2s.c:373:3-8: No need to set .owner here. The core wi= ll do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Fixes: 8c9108d014c5 ("auxdisplay: add a driver for lcd2s character display") CC: Lars Poeschel Reported-by: kernel test robot Signed-off-by: kernel test robot --- tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git= master head: 3e14f70c05cda4794901ed8f976de3a88deebcc0 commit: 8c9108d014c5bd0f0da2e3544eb45dc56a6da92b [2648/5074] auxdisplay: ad= d a driver for lcd2s character display lcd2s.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/auxdisplay/lcd2s.c +++ b/drivers/auxdisplay/lcd2s.c @@ -370,7 +370,6 @@ MODULE_DEVICE_TABLE(of, lcd2s_of_table); static struct i2c_driver lcd2s_i2c_driver =3D { .driver =3D { .name =3D "lcd2s", - .owner =3D THIS_MODULE, #ifdef CONFIG_OF .of_match_table =3D of_match_ptr(lcd2s_of_table), #endif --===============7689793612277286693==--