[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2025081926-choosy-femur-9765@gregkh>
Date: Tue, 19 Aug 2025 13:07:54 +0200
From: Greg KH <gregkh@...uxfoundation.org>
To: Dinh Nguyen <dinguyen@...nel.org>
Cc: linux-kernel@...r.kernel.org, Mahesh Rao <mahesh.rao@...era.com>,
Matthew Gerlach <matthew.gerlach@...era.com>
Subject: Re: [PATCH 2/5] firmware: stratix10-svc: Implement ID pool
management for asynchronous operations
On Tue, Jul 22, 2025 at 11:30:42AM -0500, Dinh Nguyen wrote:
> From: Mahesh Rao <mahesh.rao@...era.com>
>
> Implement ID pool management API's which will be
> used for Stratix10 Asynchronous communication with
> Secure Device Manager. These API's will be used
> in subsequent patches for ID management in
> asynchronous operations.
Please don't "roll your own" id management. Use the idr data structure
instead. It's simple, it works, and we don't have to review your
hand-made version :)
thanks,
greg k-h
Powered by blists - more mailing lists