On 18/06/2024 17:00, Mark Brown wrote:
On Mon, Jun 17, 2024 at 03:54:04PM +0100, Richard Fitzgerald wrote:So 0 is invalid. Question is: is it also valid to pass -ve errors, or is 0 the _only_ invalid value?Negative values should be fine.
In that case this patch is necessary so we reject negative values as not an IRQ. Otherwise we'll try to request a non-existant IRQ and fail with an error.