All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: kbuild@lists.01.org
Subject: [PATCH] media: rc: fix platform_no_drv_owner.cocci warnings
Date: Thu, 15 Jul 2021 15:12:29 +0800	[thread overview]
Message-ID: <20210715071229.GA72732@8477bdff9b4e> (raw)
In-Reply-To: <202107151416.QCeotjjl-lkp@intel.com>

[-- Attachment #1: Type: text/plain, Size: 1562 bytes --]

CC: kbuild-all(a)lists.01.org
In-Reply-To: <20210714212706.24945-3-viktor.prutyanov@phystech.edu>
References: <20210714212706.24945-3-viktor.prutyanov@phystech.edu>
TO: Viktor Prutyanov <viktor.prutyanov@phystech.edu>
TO: sean(a)mess.org
TO: mchehab(a)kernel.org
TO: robh+dt(a)kernel.org
TO: khilman(a)baylibre.com
TO: narmstrong(a)baylibre.com
CC: jbrunet(a)baylibre.com
CC: martin.blumenstingl(a)googlemail.com
CC: linux-media(a)vger.kernel.org
CC: devicetree(a)vger.kernel.org
CC: linux-kernel(a)vger.kernel.org

From: kernel test robot <lkp@intel.com>

drivers/media/rc/meson-ir-tx.c:401: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

CC: Viktor Prutyanov <viktor.prutyanov@phystech.edu>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: kernel test robot <lkp@intel.com>
---

url:    https://github.com/0day-ci/linux/commits/Viktor-Prutyanov/media-rc-add-support-for-Amlogic-Meson-IR-blaster/20210715-052839
base:   git://linuxtv.org/media_tree.git master
:::::: branch date: 10 hours ago
:::::: commit date: 10 hours ago

 meson-ir-tx.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/media/rc/meson-ir-tx.c
+++ b/drivers/media/rc/meson-ir-tx.c
@@ -398,7 +398,6 @@ static struct platform_driver meson_irtx
 	.remove = meson_irtx_remove,
 	.driver = {
 		.name = DRIVER_NAME,
-		.owner  = THIS_MODULE,
 		.of_match_table = meson_irtx_dt_match,
 	},
 };

  parent reply	other threads:[~2021-07-15  7:12 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-15  7:12 [PATCH v5 2/2] media: rc: introduce Meson IR TX driver kernel test robot
2021-07-15  7:12 ` [PATCH] media: rc: fix platform_get_irq.cocci warnings kernel test robot
2021-07-15  7:12 ` kernel test robot [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-08-23  4:40 [ragnatech:media-next 128/278] drivers/media/rc/meson-ir-tx.c:327:2-9: line 327 is redundant because platform_get_irq() already prints an error kernel test robot
2021-08-23  4:40 ` [PATCH] media: rc: fix platform_no_drv_owner.cocci warnings kernel test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210715071229.GA72732@8477bdff9b4e \
    --to=lkp@intel.com \
    --cc=kbuild@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.