Received: by 2002:a05:6a10:17d3:0:0:0:0 with SMTP id hz19csp1356231pxb; Sun, 11 Apr 2021 17:01:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyx38NJ8Udxpt2bvJB68VsvSzVRNTe+wLChDgGV0n1z1DCxhNoTBSMAMeepJPKxWW+Q9gGw X-Received: by 2002:a17:906:1c8f:: with SMTP id g15mr24421027ejh.20.1618185659831; Sun, 11 Apr 2021 17:00:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618185659; cv=none; d=google.com; s=arc-20160816; b=oqUB9VxPPAySx9FFveX5mHDpS5GK0tOouHgEblASeeJCZZAtYZHXn+eqF9OvnbUFP+ dJDcGCFYYL5nQnk7zvq+7yQ0bLWNuYklj7IPlrzsC7QLGRNMjSc/AocWN0fgaT6xuTJ/ 0ZoZ722odiWvqmT5ASTr4cfbmFmArRxK5sE2Fsay5R7NObDI0zEgIlE5wrh0jeKHHDV3 dk+H5s/tmDhb3cSu/iPyd/uijL7churRUJeHWdrwrzU5yod/HLZ4qb+/MJ41tIBeTezW +aUsSgFGulo9/iqFDwhjfv7KqiUKQjyMbRUQFPr8k6aiZ/S1KW6vrK2Azn9EGzkheKtn XkiA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:subject:cc:to:from:date:references:in-reply-to :message-id:mime-version:user-agent:dkim-signature:dkim-signature; bh=Cl5NDlR0eeNq1SIA3lbTrquui0su7agE6SsdembMtS4=; b=yx2SXtNqV0b1HKeAWzbky5qrMlKTdavx5FyK6Hw8HNq28R99m890BPVGWZlDUxp5Iy 06KJVgBYFxGAWpdzqBdos6wnjE1T6j7g4d6L5cK4ZqBFlNq1agFmVqMe1gHhJodj4r6X jwMpdU2tlrxmCoHtPUw0UaQvuhHUGWQoyKby7INKzLGJTm8M9iE1g5wUyRzP8umhN8GL 8bvK9BZtFq+TL7JFH6xndQFilIW+gU0C3xaAJ7PKKZA39rizCHpCp6QdHi0vu37NC3fS TZwlue6y5IYP/QORrq+H+6hJxDbnVMg+KLv7oWd44tKx/fH/QVEluIWMb4poYhX5XFgO 5lYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@aj.id.au header.s=fm2 header.b="TKxu0qg/"; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=UqqsQIcv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ca9si6603776edb.388.2021.04.11.17.00.37; Sun, 11 Apr 2021 17:00:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@aj.id.au header.s=fm2 header.b="TKxu0qg/"; dkim=pass header.i=@messagingengine.com header.s=fm2 header.b=UqqsQIcv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235941AbhDKXBG (ORCPT + 99 others); Sun, 11 Apr 2021 19:01:06 -0400 Received: from new2-smtp.messagingengine.com ([66.111.4.224]:57591 "EHLO new2-smtp.messagingengine.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235005AbhDKXBG (ORCPT ); Sun, 11 Apr 2021 19:01:06 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailnew.nyi.internal (Postfix) with ESMTP id DA4BF5805EB; Sun, 11 Apr 2021 19:00:48 -0400 (EDT) Received: from imap2 ([10.202.2.52]) by compute3.internal (MEProxy); Sun, 11 Apr 2021 19:00:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aj.id.au; h= mime-version:message-id:in-reply-to:references:date:from:to:cc :subject:content-type; s=fm2; bh=Cl5NDlR0eeNq1SIA3lbTrquui0su7ag E6SsdembMtS4=; b=TKxu0qg/SVMSv+IYdXTiOo+qpAMUYm+Dm4UiikfWnljE/mq NQirbvtS1O/rdZu1HTq9VlDnwFhWVmH8mJZsAnf8+7A+67wN7/8raDjnazjlSU3C j4b1amfhJI+u1R35/pvrfy6h26bkdO52WzVmaEBWMcSGL1vyYhtCRdV275NJ/mk8 0WyQjt3K5HREsoQVAmMPzbNGiNs5TABejz5zQ+oGL7TR+ZwdWiU/8jYv89BvCDcB XY6P6EAveASQjePYByqH5XtPnR4RBbDgWyDiMEeglFzrnmNrkzPPniXIVvFYQYOq J5KfV3CkCRN6HSrPtfHMUMoJPd0ZDjrOpE+wLug== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=Cl5NDl R0eeNq1SIA3lbTrquui0su7agE6SsdembMtS4=; b=UqqsQIcvyOSld3IRE4fX8+ QWA8hvNqU/+sYi0hAJX/R48JJTN42fcVSMRRNfpCWZo4zXLvXEaEA9iGbEFfJPlD SHjWNay/Regm5lXulwsDlGJZZhV6raX7LMZVN/+VuIHYltBNvCQfWDvYzsAKNB/C yV+Ne+yLR1HNSIm1/RzmjjrCZ6knDTmLut25+StM6U59PlRlVLVN9/odRV1FOeDy n/WLZSydttQ8HYHCHA8GxPChQ8sIpOc4rYxbwM4CxaF4/CeT706eKxsjhSXLpDsY I8aXHE7v6suL7n+p1EKicsSZvK6YGhFkxHlY0Z8/1u1mLV5S0my4lKueLqm5Gvzg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrudekiedguddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesthdtredtreerjeenucfhrhhomhepfdetnhgu rhgvficulfgvfhhfvghrhidfuceorghnughrvgifsegrjhdrihgurdgruheqnecuggftrf grthhtvghrnhepuddttdekueeggedvtddtueekiedutdfguedutdefieeuteefieelteet vddthfeinecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh eprghnughrvgifsegrjhdrihgurdgruh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id A49C1A00079; Sun, 11 Apr 2021 19:00:47 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-273-g8500d2492d-fm-20210323.002-g8500d249 Mime-Version: 1.0 Message-Id: In-Reply-To: References: <20210319062752.145730-1-andrew@aj.id.au> <20210319062752.145730-10-andrew@aj.id.au> Date: Mon, 12 Apr 2021 08:30:26 +0930 From: "Andrew Jeffery" To: "Zev Weiss" Cc: "openipmi-developer@lists.sourceforge.net" , "openbmc@lists.ozlabs.org" , "Corey Minyard" , "devicetree@vger.kernel.org" , "Ryan Chen" , "Tomer Maimon" , "linux-aspeed@lists.ozlabs.org" , "Avi Fishman" , "Patrick Venture" , "Linus Walleij" , "linux-kernel@vger.kernel.org" , "Tali Perry" , "linux-gpio@vger.kernel.org" , "Rob Herring" , "Lee Jones" , "Chia-Wei, Wang" , "linux-arm-kernel@lists.infradead.org" , "Benjamin Fair" Subject: =?UTF-8?Q?Re:_[PATCH_v2_10/21]_ipmi:_kcs=5Fbmc:_Turn_the_driver_data-str?= =?UTF-8?Q?uctures_inside-out?= Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 10 Apr 2021, at 04:56, Zev Weiss wrote: > On Fri, Apr 09, 2021 at 01:25:26AM CDT, Zev Weiss wrote: > >On Fri, Apr 09, 2021 at 12:59:09AM CDT, Andrew Jeffery wrote: > >>On Fri, 9 Apr 2021, at 13:27, Zev Weiss wrote: > >>>On Fri, Mar 19, 2021 at 01:27:41AM CDT, Andrew Jeffery wrote: > >>>>-struct kcs_bmc *kcs_bmc_ipmi_alloc(struct device *dev, int sizeof_priv, u32 channel); > >>>>-struct kcs_bmc *kcs_bmc_ipmi_alloc(struct device *dev, int sizeof_priv, u32 channel) > >>>>+int kcs_bmc_ipmi_attach_cdev(struct kcs_bmc *kcs_bmc); > >>> > >>>Errant declaration again? > >> > >>As previously explained. > >> > > > >This one seems like a slightly different category, because... > > > >>> > >>>>+int kcs_bmc_ipmi_attach_cdev(struct kcs_bmc *kcs_bmc) > > > >...it's immediately followed by the definition of the very same function > >that it just declared, so I can't see how its presence or absence could > >make any functional difference to anything. (So perhaps I should have > >said "redundant" instead of "errant...again".) This is is a small hack to fend off warnings from -Wmissing-declarations. > > > >It's fairly trivial of course given that it's gone by the end of the > >series, but as long as there's going to be another iteration anyway it > >seems like we might as well tidy it up? > > > > Oh, and otherwise: > > Reviewed-by: Zev Weiss Thanks. Andrew