Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1645596
| From | Andy Shevchenko <andy.shevchenko@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 1/1] spi: imx: fix issue when tx_buf or rx_buf is NULL |
| Date | 2017-05-19 15:20 +0200 |
| Message-ID | <tIPZ0-2G4-23@gated-at.bofh.it> (permalink) |
| References | <tIqxz-Ng-5@gated-at.bofh.it> <tIPFD-2hV-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, May 19, 2017 at 3:45 PM, Chris Ruehl <chris.ruehl@gtsys.com.hk> wrote: > On Thursday, May 18, 2017 06:01 PM, jiada_wang@mentor.com 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: http://www.gtsys.com.hk/email/classified.html Just wondering if it's okay to have this type of footer in open source community's mailing lists. -- With Best Regards, Andy Shevchenko
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 1/1] spi: imx: fix issue when tx_buf or rx_buf is NULL <jiada_wang@mentor.com> - 2017-05-18 12:10 +0200
Re: [PATCH 1/1] spi: imx: fix issue when tx_buf or rx_buf is NULL Chris Ruehl <chris.ruehl@gtsys.com.hk> - 2017-05-19 15:00 +0200
Re: [PATCH 1/1] spi: imx: fix issue when tx_buf or rx_buf is NULL Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-05-19 15:20 +0200
Re: [PATCH 1/1] spi: imx: fix issue when tx_buf or rx_buf is NULL Mark Brown <broonie@kernel.org> - 2017-05-19 19:00 +0200
Applied "spi: imx: fix issue when tx_buf or rx_buf is NULL" to the spi tree Mark Brown <broonie@kernel.org> - 2017-05-19 19:10 +0200
csiph-web