Re: [PATCH v4 5/6] iio: accel: Prevent NULL pointer dereference in interrupt setup
From: Konrad Dybcio
Date: Tue Nov 25 2025 - 05:46:29 EST
On 11/25/25 12:35 AM, Rudraksha Gupta via B4 Relay wrote:
> From: Rudraksha Gupta <guptarud@xxxxxxxxx>
>
> The bmc150_accel_set_interrupt() function assumes that the interrupt
> info is provided. However, when no IRQ is provided, the info pointer
> remains NULL, leading to a kernel oops:
Hm, are you sure your device really doesn't have a pin connected to
the IC's interrupt line?
Konrad