Re: [PATCH] i2c: imx: fix inconsistent IS_ERR and PTR_ERR

2019-01-23 Thread Gustavo A. R. Silva
On 1/23/19 2:28 AM, Wolfram Sang wrote: > On Tue, Jan 22, 2019 at 06:37:41PM -0600, Gustavo A. R. Silva wrote: >> Fix inconsistent IS_ERR and PTR_ERR in i2c_imx_dma_request. >> >> The proper pointer to be passed as argument is dma->chan_tx. >> >> This bug was detected with the help of Coccinelle

Re: [PATCH] i2c: imx: fix inconsistent IS_ERR and PTR_ERR

2019-01-23 Thread Wolfram Sang
On Tue, Jan 22, 2019 at 06:37:41PM -0600, Gustavo A. R. Silva wrote: > Fix inconsistent IS_ERR and PTR_ERR in i2c_imx_dma_request. > > The proper pointer to be passed as argument is dma->chan_tx. > > This bug was detected with the help of Coccinelle. > > Fixes: 5b3a23a3cc94 ("i2c: imx: notify ab

[PATCH] i2c: imx: fix inconsistent IS_ERR and PTR_ERR

2019-01-22 Thread Gustavo A. R. Silva
Fix inconsistent IS_ERR and PTR_ERR in i2c_imx_dma_request. The proper pointer to be passed as argument is dma->chan_tx. This bug was detected with the help of Coccinelle. Fixes: 5b3a23a3cc94 ("i2c: imx: notify about real errors on dma i2c_imx_dma_request") Signed-off-by: Gustavo A. R. Silva -