Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1451982iob; Thu, 19 May 2022 07:01:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQPb24/kmmtzDrUQQs69f49437X7vCy042SVOa1HQh4DJuZWBGQ7k/I6P6sRg9lFTFL22C X-Received: by 2002:a05:6402:d05:b0:425:b7ab:776e with SMTP id eb5-20020a0564020d0500b00425b7ab776emr5384056edb.142.1652968861449; Thu, 19 May 2022 07:01:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652968861; cv=none; d=google.com; s=arc-20160816; b=suUvkWMNZAHlS6qJH1FyGtvpY3b/vkxBViT7NufEVWqSoD53JAIHa5blknFiVZeCHm gIw3AvjtgnVyi07bpAjDepo0VIrjCTaVRJyXU7IgM1KM0IHeDWCsnCgRuilzKTdSbiwt eCB0vyYWWdk95AC1Ys/8eeXijyzUsVCJBxAc/rJGJvQ2ZGRSTWwuCRhphcKgZNPFATsD 6XcAmPRPttQlqCn4qA7LZyECVjEt4ZrD+nmd08OUameD5XMrRpSktEhvrrWXbeBqJ/pZ pBSqJhm/MuLs6xgPXw9Lh8obknXe3eEhLfv5Y8Qyoz4w/8gp41wc/CmyeMth9zxlWBKB NASg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=3fF8TXfzuMO2aAQ4ZMYHR9TcyWJ8s6t3LJpHkibRzbo=; b=wcWX22uB30EwWD+wKeqgBRpGiy67w2K0SLPwcb2Vl55UJx/GpGy6KfVxvhO/Y25xmw KTZviqnGRtl26OWE0tSPJ45DTPKksVEOzoZQoQiYs/dx61JT/JNmyJUBRmaI55oacLzZ WkLEXQHWaF+wdGERquR7RCUOrXD8m1Olgjegc5siFvYyfWTi1ehE8DA/jFzPjkaU1Fyi 5IRFZ54yxpM2hAYZ1MVR6qS3AlTwzhYrjbv+iKNj2BYC5TkIKhRVKkkGC/f9UjIy91mF NCe7xBMvNiyRW4iHfUeFRdJpa1ZBY7bB+70m/1qg7LYmd9hg1S+x6qNOl47OQLHjmFTb iu9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=pMPJsTuE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id rv14-20020a17090710ce00b006efbdd0a4a0si5345821ejb.601.2022.05.19.07.00.28; Thu, 19 May 2022 07:01:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=pMPJsTuE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232960AbiESJUm (ORCPT + 99 others); Thu, 19 May 2022 05:20:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235938AbiESJUl (ORCPT ); Thu, 19 May 2022 05:20:41 -0400 Received: from relay12.mail.gandi.net (relay12.mail.gandi.net [IPv6:2001:4b98:dc4:8::232]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9C707A76DD; Thu, 19 May 2022 02:20:39 -0700 (PDT) Received: (Authenticated sender: alexandre.belloni@bootlin.com) by mail.gandi.net (Postfix) with ESMTPSA id D1AB8200012; Thu, 19 May 2022 09:20:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1652952037; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=3fF8TXfzuMO2aAQ4ZMYHR9TcyWJ8s6t3LJpHkibRzbo=; b=pMPJsTuEHgPN5iQT99K6z1ZdCIcfwX5MsMSGQwX8O/h0GX+eDDaHKEmZi+ks8VDWONVn5g 0Sn1/OrnngudgVnU6ktbTyx7JJD2ZopvUy4J7qVOBZvwrQSkWOsWvHIbFVW8Avjde1p0wm n/2BxOKno8f9sP0vmxsR6ToTWqseLIO0t91qQyYATVAJynCsvaLmuS0XFGyzW5INDEMDXF mPwr44bIdZdFDsk4LJgR0ciB1a4eAy4LdpqaPuDxrxRxLtXcC5/LfclVLfDmdmKUbW+l7I DVk7IvUQ5ZkfKAbZPVj8J9UxyHs6aumOqeLKnxUp6L/PLCXj2q6S1Fm57TtwRw== Date: Thu, 19 May 2022 11:20:36 +0200 From: Alexandre Belloni To: Yang Li , miquel.raynal@bootlin.com Cc: linux-kernel@vger.kernel.org, linux-renesas-soc@vger.kernel.org, linux-rtc@vger.kernel.org, a.zummo@towertech.it, Abaci Robot Subject: Re: [PATCH -next] rtc: rzn1: fix platform_no_drv_owner.cocci warning Message-ID: <165295200014.525355.7168522727059763563.b4-ty@bootlin.com> References: <20220518232445.79156-1-yang.lee@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220518232445.79156-1-yang.lee@linux.alibaba.com> X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 19 May 2022 07:24:45 +0800, Yang Li wrote: > Remove .owner field if calls are used which set it automatically. > ./drivers/rtc/rtc-rzn1.c:411:3-8: No need to set .owner here. The core > will do it. > > Applied, thanks! [1/1] rtc: rzn1: fix platform_no_drv_owner.cocci warning commit: e60e8a73235ce5d42a2891c6989e8df1c8888c4a Best regards, -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com