On Tue, Sep 03, 2024 at 03:36:41PM +0800, Ye Zhang wrote: > div_reg may be < 0 if debounce is zero, causing the unsigned int to > overflow. ... > - if (bank->gpio_type == GPIO_TYPE_V2 && !IS_ERR(bank->db_clk)) { > + if ((bank->gpio_type == GPIO_TYPE_V2) && !IS_ERR(bank->db_clk)) Stray change. -- With Best Regards, Andy Shevchenko