Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8E7B1C4332F for ; Wed, 24 Nov 2021 20:36:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237104AbhKXUj2 (ORCPT ); Wed, 24 Nov 2021 15:39:28 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48228 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236977AbhKXUj0 (ORCPT ); Wed, 24 Nov 2021 15:39:26 -0500 Received: from mail-ua1-x92b.google.com (mail-ua1-x92b.google.com [IPv6:2607:f8b0:4864:20::92b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A85C6C061746 for ; Wed, 24 Nov 2021 12:36:16 -0800 (PST) Received: by mail-ua1-x92b.google.com with SMTP id y5so7739442ual.7 for ; Wed, 24 Nov 2021 12:36:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=engleder-embedded-com.20210112.gappssmtp.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=MvNanobD5DxepLtivgHlAd5wW0erbfsHGIOz72YXYcA=; b=KS3nJxbhoDCwQVE/EiDNGcVymGjQs/SrbLSSanLJwmgTUGJjzDMIZMt23dgTxrRNSN Tu6ejidm3QxymJOvrNpkCjj6uDXPFuSE0+SgttXz2BAXs7uow0gwTv0qplgX7+afSwop RZ6XpL1BF+C2GEC6MEuN7VthPlOWzET+hHCW3vb5S5ECMnSL9cFuyFCtku0uO0ZS8xk9 5fzdf5KPgzp241rHzjBNTGiw5hfnp1EXh0yFmT2v7wO+ejbtVYD6QCSHRLwsvVPuEsDz 0QJTENRZqTZZIf7ELExiNhqD9EZtfAg8+H1wKarBGd/ZR83BzIUV3uYG1vqCE1MwuiUe fT8Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=MvNanobD5DxepLtivgHlAd5wW0erbfsHGIOz72YXYcA=; b=bnpc3dHvfZycIO3BPnEfxHa6wUojx6UVkwFNnfRoj1rY3q+L4pr1Hlwr8VUAuWCV4h K/MWQiDyngvN7DSpL0TUM60wICCIFDuG5+/Mw0C+hl2T1bfssbP3mdrzRdg/GhzxPYpG khHa+Lug9LtYiT3+9PxT/6U9NT9f2p/0FxTrh7K04v2JvuwdsAGQlCKcQGpwqhQLegzO DdXg4P/xBlzeIYeLTLkePjE5xZUQMqpbAw0jdxgJLjjtWadgMwoaQL+kZvdgoGkogNj5 JLrdUua97pGlI0+tqXVqO9Pl6Z0TPAjIE5y2Sa10ZEJtEKl6oPps7EfU9apRSGhX1Yi7 twLA== X-Gm-Message-State: AOAM533k0+gts+rZzM+KgDFR+GHusqfKH+AvFbfrg5DZzfyJrOVTGt+U 3NmIYJN7WqJtk8Lr8W6wUf0PJMNJ9KF1iJN0ULLDVg== X-Google-Smtp-Source: ABdhPJyO0jdQb+jxLJl6Td1yYcwv5x9neNqqOUQtosV/94r11Q1KOg2ESOaNXWd4wQwX9ehq1b/uK8amqg3T5DtZeEE= X-Received: by 2002:a67:ef4b:: with SMTP id k11mr1516250vsr.74.1637786175823; Wed, 24 Nov 2021 12:36:15 -0800 (PST) MIME-Version: 1.0 References: <20211124164349.GA15018@af7a0ea8a35f> In-Reply-To: <20211124164349.GA15018@af7a0ea8a35f> From: Gerhard Engleder Date: Wed, 24 Nov 2021 21:36:05 +0100 Message-ID: Subject: Re: [PATCH] tsnep: fix platform_no_drv_owner.cocci warnings To: kernel test robot Cc: kbuild-all@lists.01.org, Linux Memory Management List , Jakub Kicinski , netdev , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > > From: kernel test robot > > drivers/net/ethernet/engleder/tsnep_main.c:1263: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: Gerhard Engleder > 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: 4b74e088fef6ce8cc513f935ce236c38bdf5f67b > commit: 403f69bbdbadb2e601f725be2d00b4ccc7b61c9d [2745/3376] tsnep: Add TSN endpoint Ethernet MAC driver > :::::: branch date: 11 hours ago > :::::: commit date: 2 days ago > > tsnep_main.c | 1 - > 1 file changed, 1 deletion(-) > > --- a/drivers/net/ethernet/engleder/tsnep_main.c > +++ b/drivers/net/ethernet/engleder/tsnep_main.c > @@ -1260,7 +1260,6 @@ MODULE_DEVICE_TABLE(of, tsnep_of_match); > static struct platform_driver tsnep_driver = { > .driver = { > .name = TSNEP, > - .owner = THIS_MODULE, > .of_match_table = of_match_ptr(tsnep_of_match), > }, > .probe = tsnep_probe, Reviewed-by: Gerhard Engleder