lkml.org 
[lkml]   [2019]   [Dec]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] spi: spi-dw: Add lock protect dw_spi rx/tx to prevent concurrent calls
On Fri, Dec 27, 2019 at 11:51:09AM +0800, wuxu.wu wrote:

> static void dw_writer(struct dw_spi *dws)
> {
> - u32 max = tx_max(dws);
> + u32 max
> u16 txw = 0;

This is going to break the build, there's a missing ; in the
declaration of max. Otherwise this looks good.
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2019-12-31 01:30    [W:0.023 / U:18.936 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site