Received: by 2002:ab2:7b86:0:b0:1f7:5705:b850 with SMTP id q6csp497754lqh; Sat, 4 May 2024 09:18:19 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWd+bds7tuZPyhZYpXBa/ND9aQ0DFjyVrXO5LkQAJvqDYx0itPuY+tJIZD/CuloJ0+b8ScjQ/7Y6l59nNvCVOQHgOtXv8aA4OfAU4wpJQ== X-Google-Smtp-Source: AGHT+IGfS2K+jEptlS+n8dLF9Uf0E/nAxlZZnJ0qRv4+gS+I/TPFTfpka+dJmobOY+IqXe23Fi4l X-Received: by 2002:a05:620a:28c4:b0:790:c69a:d3f3 with SMTP id l4-20020a05620a28c400b00790c69ad3f3mr7732093qkp.15.1714839498922; Sat, 04 May 2024 09:18:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714839498; cv=pass; d=google.com; s=arc-20160816; b=Yv8sGIH9I1Tn2XA/66KPmd8JjS02ZW61zc15fbTsIwDK9qE6zvFDmYjTp0gtxCVEeY HKQ7zIB0B0TybR9ds90Z0IsvEas1G0hC6NUztVgBwcs2isHLXv4tApfnv/K+A9t04dfJ ZVAChmox/78MaY3rQpQaoeJ9FEJSvoLjdbQEa290S18O/CH2kHR2esfzvu9PV12I3DwV YTfyjTtnTVvIjp3JribeuAUrVFEkiKuD/ejsjfUgdFKbBoKtcdXccJA8BbDnA+jbrU3p pBPiSlBTkGXz38Fw7wcCFNG0137Ri37Oc6WtISsOIavOz6qF7rXT8msAfDFze6vpv2F4 xL2A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=1m+Fezw5B3dNJVSsMFWI1gF22yNZhlBj2zGwJOz/hL0=; fh=RzeUPp3ZCk4tAuxqO8+K3GJTGem01AORsj5Aiaemwx4=; b=FDfRaMZ8/4KUxO507188FcSbpFmQmOQ2bsXLilofjc0nc99/vTJL87Za41kJvcVH6p gCN4CwEDPOkDTPqNTwAIwG5KJ9L16WnR+A+TF9XQZTgUemNCzVqiSkzqx+fsOz9pOl0V lpiQNt3WlIMUgH0JjcDzNeyh8mQmtNtm/RR6xdadXQJIiTHP/7gleB/4tnSAwx4qtLUy eZ5VVXN8A1i2WskslherhMA6nGuLhbFSFDe5FKn0iVbfok35zmxVxi6o3WiahM6tV4CF e36GAhHfKEc8k6Zhbv0Ml9S+FoMmu5ImaPEGCKfA4O4ii9VCiK03DD2ufnoezoIlffF9 P69g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=YjdLzQG7; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-168748-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168748-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id v2-20020a05620a440200b0079086c500b5si6258023qkp.99.2024.05.04.09.18.18 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 May 2024 09:18:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-168748-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=YjdLzQG7; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-168748-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-168748-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 788E41C20C7A for ; Sat, 4 May 2024 16:18:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id F078756B79; Sat, 4 May 2024 16:18:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="YjdLzQG7" 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 EACB74E1C9; Sat, 4 May 2024 16:18:07 +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=1714839488; cv=none; b=QmkRJel7RwfT3C8ymuStlb4+SmYKLpnn/e1fZJ4xTj9zlReAORcvKQZJAb04F0OqxSK4xIQvVMx+rsHjWgiH9PfyFMeISXpnmLfCYQqqqpiRjPE0K8ZUhbNjjlfCN7VY21ravgnSKyg0okQBcWeLqhi2qygAnGF5r0ZoUuXpNfU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714839488; c=relaxed/simple; bh=/J4pe6b3rK2ZUPDwtDpRK0Z/bGvMgNCqH1lmwkwOugI=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=FPHdQZOZSik4wSlellKVnEnbe8ZnzfP57nOGUOAYQvro7vM1+e+1Gm8HChtEJnU37aA1KP7I/G3HRWNseJJbvFn9llpK+w5S2aukI//P3bijofioLPggoV4aReaEe+oiBag2n7gNaDoEuQ9hrEvuXIBSjjCYqPQx76QlSVpcazE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=YjdLzQG7; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 181EEC072AA; Sat, 4 May 2024 16:18:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1714839487; bh=/J4pe6b3rK2ZUPDwtDpRK0Z/bGvMgNCqH1lmwkwOugI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=YjdLzQG7aVfg1HIbTDlxwItjyUT1aP7FBsSDLiD93PsGKclunF1wu/t61OLNdK9wK ES5W91q26MotxiL9Z/JG5QHH6RbuKebFNZ5aDHXA1OewZa3iOnLyRX4r8nhBORmUp2 qOoTXt+tcK9vERf0ADNDmwqyVTot2kXb+q24kRqY= Date: Sat, 4 May 2024 18:18:04 +0200 From: Greg KH To: R SUNDAR Cc: heikki.krogerus@linux.intel.com, dmitry.baryshkov@linaro.org, neil.armstrong@linaro.org, christophe.jaillet@wanadoo.fr, u.kleine-koenig@pengutronix.de, skhan@linuxfoundation.org, javier.carrasco.cruz@gmail.com, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, Julia Lawall Subject: Re: [PATCH v2] usb: typec: mux: replace of_node_put() with __free [linux-next] Message-ID: <2024050443-coerce-bonus-977a@gregkh> References: <20240410175804.5195-1-prosunofficial@gmail.com> 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=us-ascii Content-Disposition: inline In-Reply-To: <20240410175804.5195-1-prosunofficial@gmail.com> On Wed, Apr 10, 2024 at 11:28:04PM +0530, R SUNDAR wrote: > use the new cleanup magic to replace of_node_put() with > __free(device_node) marking to auto release and to simplify the error > paths. > > Suggested-by: Julia Lawall > Signed-off-by: R SUNDAR Please fix your name up for the next version. > --- > > Link to v1 - https://lore.kernel.org/all/CAA8EJppfzXEzzrQ_11O94MVn2dhcF2kGd9RR8ctJ1GmK=6C+ZQ@mail.gmail.com/ > > Changes in v2: reverted the structure declaration to top of the function. How was this tested? thanks, greg k-h