RE: [PATCH v2] r8152: Use guard clause and fix comment typos

2019-09-24 Thread Hayes Wang
Prashant Malani [mailto:pmal...@chromium.org] > Sent: Tuesday, September 24, 2019 12:01 PM > To: Hayes Wang > Cc: grund...@chromium.org; netdev@vger.kernel.org; nic_swsd; Prashant > Malani > Subject: [PATCH v2] r8152: Use guard clause and fix comment typos > > Use a guard cla

[PATCH v2] r8152: Use guard clause and fix comment typos

2019-09-23 Thread Prashant Malani
Use a guard clause in tx_bottom() to reduce the indentation of the do-while loop. Also, fix a couple of spelling and grammatical mistakes in the r8152_csum_workaround() function comment. Change-Id: I460befde150ad92248fd85b0f189ec2df2ab8431 Signed-off-by: Prashant Malani Reviewed-by: Grant Grundl