Re: [PATCH v2] ipmi:bt-bmc: Fix error handling and status check

2020-05-04 Thread Corey Minyard
On Sun, Apr 19, 2020 at 02:29:26PM +0800, Tang Bin wrote: > Hi, Corey: > > On 2020/4/18 21:49, Corey Minyard wrote: > > On Sat, Apr 18, 2020 at 04:02:29PM +0800, Tang Bin wrote: > > > If the function platform_get_irq() failed, the negative > > > value returned will not be detected here. So fix err

Re: [PATCH v2] ipmi:bt-bmc: Fix error handling and status check

2020-05-04 Thread Tang Bin
Hi, Corey: On 2020/4/19 14:29, Tang Bin wrote: Hi, Corey: On 2020/4/18 21:49, Corey Minyard wrote: On Sat, Apr 18, 2020 at 04:02:29PM +0800, Tang Bin wrote: If the function platform_get_irq() failed, the negative value returned will not be detected here. So fix error handling in bt_bmc_config