Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp521822rdb; Fri, 8 Sep 2023 07:56:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFPOqFqBQuw0vx7YB3n8s9j58uP79+Ahtv+5CezHAaynUegnLwUcZUezvbbM+0VtoXgpvPZ X-Received: by 2002:a17:902:ec8b:b0:1c0:cbaf:6939 with SMTP id x11-20020a170902ec8b00b001c0cbaf6939mr2932321plg.3.1694185003483; Fri, 08 Sep 2023 07:56:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694185003; cv=none; d=google.com; s=arc-20160816; b=Kvw4V8j9FDmfs4SrXj5B33uMqgfhQSBJa45xeBQv0oWjOUpi7pApLkZDegD4cSoH9a bZ3o0sa5DtyuLIsBLposQ1tvqkztD7M+Z2Pg2A58udASf/WcTiAY9pigU/VoTzIHthzl oofV8rY7WHLZXV3kd0/9mmqVmy/7N1TXrUJecrPPPzRHDetCGcGqkYkoBAs5m/YKNqRe B/cVDNuWmQ7t1RGsvN4LYqESDS5xgIrl2er4llQXQ4hy9QP09qjDRNlHlDkBemJUOlBU VyR/jos58ODH3KDeDuLtmqI1xX0Gzpwik9tfZrK6VViRZprYRFUB8lLfzxnpKSlq4B8u SFvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=dF4WSu1pQdLWk4BLoNNTNaDOuLHcl/ZIsL38WqLRGhc=; fh=mI8G5Ll+A7/KLdsPyofxXH+rHL1Bu8ioxu4zAEvKHSQ=; b=SYVcckTQywP6yQXfb+UekvcYQP/xTjj/jl/XXt3otHCl3kabzc9ecsaY4DUOZooWPj NPkLUZZ+m5hRG3SUXVz8nK6/u+XK75GZr2u6KWWVV80fxNCBRD9xsarBC6M3XcQPUpjB G1YP5bxbRpPQIZMERVfuUFl78Ts2azgsnOGv5rcB2uHXikvbMP4/S//BSPVRc8aKcp4c L2q7NqIb/gx+eq8f42BobdP/mvrI2Tfk3FVGBYa93xJ5wk0sC4bM3zAH2QpI2NXKwLeu gZX9+4dGCSjr5j5VbBWjFoEiqNPSY9GD64qi9LO2TXrWVdtRJ6mzb4OYrNO60C0nknfh 13sQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FmxIsFBY; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l19-20020a170902d05300b001ab1d1a6802si1680886pll.1.2023.09.08.07.56.29; Fri, 08 Sep 2023 07:56:43 -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=@kernel.org header.s=k20201202 header.b=FmxIsFBY; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238473AbjIHN6q (ORCPT + 99 others); Fri, 8 Sep 2023 09:58:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57504 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231410AbjIHN6p (ORCPT ); Fri, 8 Sep 2023 09:58:45 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 49B791BF6 for ; Fri, 8 Sep 2023 06:58:42 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E2E6FC433CB for ; Fri, 8 Sep 2023 13:58:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694181521; bh=DfiFir3Xn1RbQQOIWt9tqf3zKXx7eQfHklOO0Iw6By0=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=FmxIsFBYDzi39WJpJumAvBzhPdJLbs74aR+5J47pG93IrAItgQXZ0W0nTiOOOhlkg cwXfj6t/3hY5RIG2F3z3O32HIRUexix+gNSZlsT2LCrpYtsPt/HLs/n+pvXCJkrDa2 bWC1Dx0ymRCivkGAyCFIZnygpLOOKo28A7ER3Sf+KJXiGgIXyXvIiWBi1BoaNZrtcf SIHTZWMo/pzDXFgan13o1xIBuQkpynspw3b4xAg/bfjVOWwEOFlHrkvmkduCjfThJG fwuE1Cp8T0KCch9DgXKhdefuQYC3Fo66rdPdkd/rhxT0gNkTSISSIdGCfXraIN1osH RW7JS5M00HGJw== Received: by mail-oa1-f48.google.com with SMTP id 586e51a60fabf-1c4dd644cf8so1677380fac.0 for ; Fri, 08 Sep 2023 06:58:41 -0700 (PDT) X-Gm-Message-State: AOJu0YxSYEOCpW6mZ/TP0a8evE7ruDxfsPkor6exyvaSds9x9D/Q0Hxh KTC7jKbxvtOGnNhISpghyQ59c7DCQj/Uq2AjsBY= X-Received: by 2002:a05:6871:706:b0:1bb:b18e:b864 with SMTP id f6-20020a056871070600b001bbb18eb864mr3159137oap.48.1694181521288; Fri, 08 Sep 2023 06:58:41 -0700 (PDT) MIME-Version: 1.0 References: <20230907110305.2096052-1-masahiroy@kernel.org> In-Reply-To: From: Masahiro Yamada Date: Fri, 8 Sep 2023 22:58:04 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] devres: rename the first parameter of devm_add_action_or_reset() To: Andy Shevchenko Cc: Greg Kroah-Hartman , linux-kernel@vger.kernel.org, "Rafael J . Wysocki" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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, Sep 7, 2023 at 11:24=E2=80=AFPM Andy Shevchenko w= rote: > > On Thu, Sep 07, 2023 at 08:03:05PM +0900, Masahiro Yamada wrote: > > Fix a possible mistake in commit 410e7088e971 ("devres: Pass unique nam= e > > of the resource to devm_add_action_or_reset()"). > > > > The first parameter of devm_add_action_or_reset() is the associated > > device. The name 'release' is confusing because it is often used for > > dr_release_t in the devres context. > > > > Rename it to 'dev'. No functional change intended. > > ... > > > -#define devm_add_action_or_reset(release, action, data) \ > > - __devm_add_action_or_reset(release, action, data, #action) > > +#define devm_add_action_or_reset(dev, action, data) \ > > + __devm_add_action_or_reset(dev, action, data, #action) > > What about devm_add_action() and Co? I will fix devm_add_action too. Thanks. > -- > With Best Regards, > Andy Shevchenko > > --=20 Best Regards Masahiro Yamada