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 2DD43C433FE for ; Thu, 25 Nov 2021 02:13:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239220AbhKYCQv (ORCPT ); Wed, 24 Nov 2021 21:16:51 -0500 Received: from mail.kernel.org ([198.145.29.99]:42416 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243053AbhKYCOu (ORCPT ); Wed, 24 Nov 2021 21:14:50 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 04F00610C8; Thu, 25 Nov 2021 02:11:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1637806300; bh=we4lzqjpqmLtrFPZIH6eDyosFWOCIeDfTAbZLnC5JEE=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=ioce4Z4Ct0hZSqrLkP75ZK4WgmQMbocYTw83zBOPMtTo7mdfcUFLfypEIDsW94e8R IlxxSzDY87WrJJA3bf9P7v0842XNTsxaQ3pXy9mSSAADBSFVwmTwMWv/N/teFPMDfE 0Y15597kHGu8ryBptk6Cirf8/mtkh6cXBDRJRZlYjKgBimUMqzwCghaqSQsklcSvUE 5RgnkaTPiRH9pbZxE8WfmyEwg9bH9wEuoopCioQDrO/lt1xVNNuzmdcHddxXad4H+T 3NHlXVTT/BOOnbb3rxmJETWdcsBRezOK/RuY/FMixLcnru7tYJqZFSuzNkT2ikyTYh d87WGLBpf4T8g== Date: Wed, 24 Nov 2021 18:11:39 -0800 From: Jakub Kicinski To: Gerhard Engleder , Yang Li Cc: David Miller , netdev , linux-kernel@vger.kernel.org Subject: Re: [PATCH -next 2/2] tsnep: fix platform_no_drv_owner.cocci warning Message-ID: <20211124181139.406ab72e@kicinski-fedora-pc1c0hjn.dhcp.thefacebook.com> In-Reply-To: References: <1637721384-70836-1-git-send-email-yang.lee@linux.alibaba.com> <1637721384-70836-2-git-send-email-yang.lee@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 24 Nov 2021 21:32:27 +0100 Gerhard Engleder wrote: > > > > Remove .owner field if calls are used which set it automatically > > > > Eliminate the following coccicheck warning: > > ./drivers/net/ethernet/engleder/tsnep_main.c:1263:3-8: No need to set > > .owner here. The core will do it. > > > > Reported-by: Abaci Robot > > Signed-off-by: Yang Li > > Reviewed-by: Gerhard Engleder Applied this one and took Gerhard's patch for the resource size thing. Thanks!