Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2915542lqo; Tue, 21 May 2024 00:37:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVfMY+RWVqz9LrXCqVrfHUuJdBmLN/0lphcuPw4DlMf3nZauSeGfoSN5nOq00k4kDxEVfbvvjj9euF80dk7zJLmbiC2L9GhzMK9DMfBHg== X-Google-Smtp-Source: AGHT+IH59kfRLgmSvPUi27P9EcQzkmZun8o/PX65W5sE449hqnc1dbR+y/CZ0YcNe7lobjtQd6HA X-Received: by 2002:a05:6358:c6a2:b0:196:e76f:a06d with SMTP id e5c5f4694b2df-196e76fa265mr727346755d.22.1716277068730; Tue, 21 May 2024 00:37:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716277068; cv=pass; d=google.com; s=arc-20160816; b=zfGj/zZ193SJWKYXue2T4Z2Ikj7w+sk7Y5Iu5S4/sPiIo0va05NXr529yuCNyC5qGb cD604TIkrKVotg0hKXyQ0IFvuYxSkAf+vex6FX1qSuGB9Wsx6iQWmjgPcF9DDybaS9ty DqPTko7CHxotcKurIRto9YamPI1PTTBD1mTyeccX5/uM0hpRfe9z9OA9R3Lc7pkULVLC pNuka5ZwZrilGTgoGS54jNa8y32ZceQbeIKIK2/Ms9va5pL7Xi/Q6rmoQ7/0LkfZLtbU T4qckJKgLGv9Yl+v/44EnyQL+QW39MP6jmjfkf+j9shTXlH3s6sTM/sQdJ/L5AXojjJ0 sPwg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:date:dkim-signature; bh=svnobBfKV8ut/gulTx8OP9W+xhuTYaovBEhDzTuMUfs=; fh=6/FJv3pVAUR6e7q+j9+C6h5A5TMeE8KWKA1Jt4ET3t4=; b=w8cYrmR5Vd2rDFi0JpOlIXYDeGmd1mZgBB0hcZ6jxPxQfoHvLFpzkv89pSfqCRAWsF 7/BWyw2nUPscMf7iwRflHJaznS9jYtGkdFoK3YwdVFjaNe/0m5StXjTpJpDQrMS9TK7k xDQS7dImMSZzxvSNp4B5rn919AZy4n1ewnbXFXXzMAxa0mRJhVmRd3uDMcsdt0aoWGSb vCUCwYfgdARz+jobPA5dR6reXlVwtjPNaNY9JE2CBlNUzwSHIL7jvGlF3jKn5r6zVeMe pNSwwsVRId1fTTYsDaa7XCah7w2F2g9pMARUbA1TfzcNR0HMKlpiJKtp3wpAdRGZwOCU KO/A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=w+h3wPb3; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-184579-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184579-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-63411719338si24577981a12.491.2024.05.21.00.37.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 May 2024 00:37:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-184579-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=w+h3wPb3; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-184579-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-184579-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 12349282DE1 for ; Tue, 21 May 2024 07:37:45 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7DB7F51C5F; Tue, 21 May 2024 07:37:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="w+h3wPb3" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 818864F88A; Tue, 21 May 2024 07:37:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716277054; cv=none; b=fgMu2NNBULwCWuFsj+bOx9NXOaYFQY0W0bA+7DMRqWG3hEOiPfPsbWGGdfjaS7nSMVIookaAvH6LbE8aSms5hIuxb4ss2UcmJDOHo56TRelw6sxEyyNOnyonbyTPWlFRpu039V9Gyv7NLP/vDFlgZpNt3wxL3AQNOCNXag71bXc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716277054; c=relaxed/simple; bh=RN8I5CgBWEareyxEJP4IkpgAm7z5y/urYtXZ/8ompBo=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=CmrLvigURIyTf168QC+3BVuOqXQbTLRHevgP4Hvx5xy2AVn+GlxkZLTBr5EQihrdw3VxOzWaECGkgxgUfee6BWdelstWSGx8MuDEHcey39nHUKW/tclkvRW9HzYDJcK80WSXYhfLB7BON+v+Xf4+SQu49zfNH2+9+P+9SZu4yGE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=w+h3wPb3; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 77DF1C2BD11; Tue, 21 May 2024 07:37:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1716277054; bh=RN8I5CgBWEareyxEJP4IkpgAm7z5y/urYtXZ/8ompBo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=w+h3wPb3d5y6PqxztT/3uSjmCzHd8j91s3v55vG0W9UzvecyWPU9rHEKyyGVd6iwS OfD85bH15kzgNuq9PWN5gtEA1i91+BS8YCQldzB7xLEWFafRV5cqN2Jd/H5laBE/i8 qO8Kj8qNl8dX/qxQlF754LJD2smyTcePz5Vv3uQY= Date: Tue, 21 May 2024 09:37:31 +0200 From: Greg Kroah-Hartman To: Markus Elfring Cc: Alvin =?utf-8?Q?=C5=A0ipraga?= , devicetree@vger.kernel.org, linux-sound@vger.kernel.org, linux-i2c@vger.kernel.org, linux-gpio@vger.kernel.org, linux-clk@vger.kernel.org, kernel-janitors@vger.kernel.org, LKML , Alvin =?utf-8?Q?=C5=A0ipraga?= , Emil Abildgaard Svendsen , Andi Shyti , Bartosz Golaszewski , Conor Dooley , Jaroslav Kysela , Krzysztof Kozlowski , Liam Girdwood , Linus Walleij , Mark Brown , Michael Turquette , "Rafael J. Wysocki" , Rob Herring , Saravana Kannan , Stephen Boyd , Takashi Iwai Subject: Re: [PATCH 01/13] a2b: add A2B driver core Message-ID: <2024052125-washroom-hardened-820a@gregkh> References: <20240517-a2b-v1-1-b8647554c67b@bang-olufsen.dk> <7ffeb91e-97b7-4f60-851e-120062b63c17@web.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <7ffeb91e-97b7-4f60-851e-120062b63c17@web.de> On Tue, May 21, 2024 at 09:33:51AM +0200, Markus Elfring wrote: > >> … > >>> +++ b/drivers/a2b/a2b.c > >>> @@ -0,0 +1,1252 @@ > >> … > >>> +static int a2b_bus_of_add_node(struct a2b_bus *bus, struct device_node *np, > >>> + unsigned int addr) > >>> +{ > >> … > >>> + node = kzalloc(sizeof(*node), GFP_KERNEL); > >>> + if (IS_ERR(node)) > >>> + return -ENOMEM; > >> > >> Please improve the distinction for checks according to the handling of error/null pointers. > > > > Right, I think it returns NULL on error. > > Do you see possibilities to reduce “confusion” about the properties of such a programming interface > any further? > https://elixir.bootlin.com/linux/v6.9.1/A/ident/kzalloc Hi, This is the semi-friendly patch-bot of Greg Kroah-Hartman. Markus, you seem to have sent a nonsensical or otherwise pointless review comment to a patch submission on a Linux kernel developer mailing list. I strongly suggest that you not do this anymore. Please do not bother developers who are actively working to produce patches and features with comments that, in the end, are a waste of time. Patch submitter, please ignore Markus's suggestion; you do not need to follow it at all. The person/bot/AI that sent it is being ignored by almost all Linux kernel maintainers for having a persistent pattern of behavior of producing distracting and pointless commentary, and inability to adapt to feedback. Please feel free to also ignore emails from them. thanks, greg k-h's patch email bot