Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp1793049rdf; Sun, 5 Nov 2023 14:54:34 -0800 (PST) X-Google-Smtp-Source: AGHT+IGbLjx/l5WFjVbMy8x1G+LmSAm/2DTO81LbG4uhVOV9hEhKJiV8bI3Q9iJ5T6nQtyR3waw2 X-Received: by 2002:a05:6830:2709:b0:6d3:194f:f132 with SMTP id j9-20020a056830270900b006d3194ff132mr17423081otu.30.1699224874659; Sun, 05 Nov 2023 14:54:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699224874; cv=none; d=google.com; s=arc-20160816; b=XOPumzSpVQNeDZNAjZGUGAovW2CoIm8j6izFYDXDSmxJkUdP2hbiUGTv+cYIdhjH4F AqKhGeUNTmMyWqTWUYB5IRDjJQQPq4JfemBf1UPwM8zDW6XvydmtrWqNzVpEFalUzc3r R93IEyMU8h3NdLkJ4s/GB7NTmkmQx2W8JtHXkjXU/IRCQ0RV7qasi3sISsaYOzkfqn8W 9vuqKesQW0lZyMtrX9B2t+JE57qnk82EpUC4r9M54LqqK1c5c54xthlF98BFwM4Q0q0y 90lDELjIB9hVJT6NgvAvgETw/M/d6naDbNkT/H+nJhy0ejAcAbkDVc6GWFF2sJKJ7lv6 VYFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=uvcG7XUq7kcchLFjTcoSzVGDORe43gAmB+aXl1uvM7c=; fh=MQKibY1gp03oHfoDc5Rz7YuTEvyytF8k3oA40d6PJLM=; b=W/3FJGjjywl3FEea5Otge7KUvnLXpS9NWKAzYFTT2rwZKzJuYmvQaQqvGRG85sY2q/ AFixTw7i15aVm8rQEBclDcmAL7aNwgDIUidbEKgUSNhXClz4Z5K11wo6WwUqEKVqNvni 81jUyc6UmiaHwwFJ+cVSco2PRijapITt8fItDkJwk/UoWp5rv6EMvgQex485RE5/qeXC eVtDG1P5LsA24Tg6hAiC99jnZ741MClAxyM+BGm1Vd18B4LQybcZEpJ2TcQJAumfc/Nr 0sLATiw/TfmW9LmU4rRzUnbwKoX7C1nRil045pp9dx5/oAcIDY4qRqTfBk43Flf9ic1r Iw3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeconstruct.com.au header.s=2022a header.b=C0JxkAno; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=codeconstruct.com.au Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id t17-20020a17090ad51100b00271c377a534si6710801pju.104.2023.11.05.14.54.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Nov 2023 14:54:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; dkim=pass header.i=@codeconstruct.com.au header.s=2022a header.b=C0JxkAno; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=codeconstruct.com.au Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id DD8FF8061377; Sun, 5 Nov 2023 14:54:31 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229887AbjKEWyW (ORCPT + 99 others); Sun, 5 Nov 2023 17:54:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229447AbjKEWyU (ORCPT ); Sun, 5 Nov 2023 17:54:20 -0500 Received: from codeconstruct.com.au (pi.codeconstruct.com.au [203.29.241.158]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 46BC083 for ; Sun, 5 Nov 2023 14:54:18 -0800 (PST) Received: from [192.168.68.112] (ppp14-2-79-67.adl-apt-pir-bras31.tpg.internode.on.net [14.2.79.67]) by mail.codeconstruct.com.au (Postfix) with ESMTPSA id 35BAC20075; Mon, 6 Nov 2023 06:54:10 +0800 (AWST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=codeconstruct.com.au; s=2022a; t=1699224856; bh=uvcG7XUq7kcchLFjTcoSzVGDORe43gAmB+aXl1uvM7c=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=C0JxkAnoN6Bx7JDe8KHAqObKbg+REKWdBJdEDZp2b1kOz4KcE8y0xl1pDZOe8keP2 NX4UuhhYpiKrv+WuMk+9YiXTn9UJ/yzNjiO8rDBubJyLymOmen14lWu7Vbr9kbkPbr x+4cpFEzX1d9Y+JvfKHQDHWTpxPEZYnPvYZ6Oj7aG3Lrrk1JWsKCJkP8EnKYOBsoLP BqeA08DGq+0vJugUfjqHUsVVGyDCWBLDBqt3D/bqe6Wue2WAGg6gXlxkWGwns3OL4k mLPs3qDBmdJNnT3qxuRjzzRZEypBF1lpQIr36MRvU0JIWPPSy8NEK3QGwZUZdUiNtJ 1tG8Vb9SBhOyA== Message-ID: <61daa1c69836caffd63e3c2d9bb2e62298f1a04a.camel@codeconstruct.com.au> Subject: Re: [PATCH 04/10] ipmi: kcs_bmc: Make remove_device() callback return void From: Andrew Jeffery To: Jonathan Cameron Cc: minyard@acm.org, openipmi-developer@lists.sourceforge.net, linux-kernel@vger.kernel.org, aladyshev22@gmail.com, jk@codeconstruct.com.au Date: Mon, 06 Nov 2023 09:24:10 +1030 In-Reply-To: <20231103144311.000008f1@Huawei.com> References: <20231103061522.1268637-1-andrew@codeconstruct.com.au> <20231103061522.1268637-5-andrew@codeconstruct.com.au> <20231103144311.000008f1@Huawei.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.4-2 MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on groat.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (groat.vger.email [0.0.0.0]); Sun, 05 Nov 2023 14:54:32 -0800 (PST) On Fri, 2023-11-03 at 14:43 +0000, Jonathan Cameron wrote: > On Fri, 3 Nov 2023 16:45:16 +1030 > Andrew Jeffery wrote: >=20 > > Don't pretend there's a valid failure path when there's not. > >=20 > > Signed-off-by: Andrew Jeffery >=20 > Whilst I agree returning an error code is pointless, it is perhaps > useful to make sure there is a dev_err() or similar in the paths > now that you've remove the one at the call site. >=20 > Minor point and up to you if you want to or not. No, that's reasonable. I'll address this in v2. Andrew