[lkml]   [2017]   [May]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 1/1] spi: imx: fix issue when tx_buf or rx_buf is NULL
On Fri, May 19, 2017 at 3:45 PM, Chris Ruehl <> wrote:
> On Thursday, May 18, 2017 06:01 PM, wrote:

> But I think we missing something here. We return from a void function()
> so the error keeps hidden. The root cause is calling this functions with a
> NULL pointer. See if you can fix this by find the caller and check if the
> parameter hand over are valid.

AFAIU some SPI controllers can have half-duplex protocol, in which the
second buffer might be absent.

> Disclaimer:

Just wondering if it's okay to have this type of footer in open source
community's mailing lists.

With Best Regards,
Andy Shevchenko

 \ /
  Last update: 2017-05-19 15:15    [W:0.033 / U:6.916 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site