From mboxrd@z Thu Jan 1 00:00:00 1970 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 6E5F2299AA3 for ; Tue, 20 Jan 2026 15:15:27 +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=1768922127; cv=none; b=Cp1U5swVEW08s4qd9GaXxXKbMlMHr5HU69mOGcoFvYsVudegjA5JgUkdk7U4Qp437jxndbyTSJPgQgwOtGNWNopqaeePHgTjD+wMfjGOECtiaSnemu7Ah5OOkk1q+0sGMCuBaJnQ5XN0tZNjsdErc2Z3VwwvMc7e+BY//4VzQzE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768922127; c=relaxed/simple; bh=MbU5w3ir+dx6i8+g3ejTVs9X6MjRfFN+ZfnWscGRY5c=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=INLga5R/qm6ixElVNhkU3QE++yDj9NhMwSWHfIIrGlJUo6NocOU+g4n8m/W9CxZflglxCyuyv82nMGO0J8Y9/CcW7NubnrU9ttG4woWgRS8tHbqPeal539TlNJ4PHkWJVg+axO+8PIkAlheZsGXyBcot3FdE6Y1gNZri7Vg3iBk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=xZg5ymxh; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="xZg5ymxh" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D3635C16AAE; Tue, 20 Jan 2026 15:15:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1768922127; bh=MbU5w3ir+dx6i8+g3ejTVs9X6MjRfFN+ZfnWscGRY5c=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=xZg5ymxhPpLh8QAl6zZNboc+0uL9daHCYwapHiC6suubjKfIe0cj7YUY0E3FBhUvv nen7yQwFlwR2/5RGvcc47s4QLnpBRBGUWArw2YD3l0xG/keANOROLdEzgYyNW3FR0Z mOHU92PAfPNAgM8rv6LUUbKZ84zLw78EKV5mnWWk= Date: Tue, 20 Jan 2026 16:15:01 +0100 From: Greg KH To: Danilo Krummrich Cc: rafael@kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] driver-core: move devres_for_each_res() to base.h Message-ID: <2026012054-fling-outscore-9855@gregkh> References: <20260119162920.77189-1-dakr@kernel.org> 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: <20260119162920.77189-1-dakr@kernel.org> On Mon, Jan 19, 2026 at 05:27:57PM +0100, Danilo Krummrich wrote: > devres_for_each_res() is only used by .../firmware_loader/main.c, which > already includes base.h. > > The usage of devres_for_each_res() by code outside of driver-core is > questionable, hence move it to base.h. > > Signed-off-by: Danilo Krummrich > --- > drivers/base/base.h | 4 ++++ > include/linux/device/devres.h | 4 ---- > 2 files changed, 4 insertions(+), 4 deletions(-) Acked-by: Greg Kroah-Hartman