lkml.org 
[lkml]   [2019]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/2] misc: xilinx_sdfec: Adjustments for xsdfec_add_ldpc()
Date
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Tue, 5 Nov 2019 19:45:05 +0100

Two update suggestions were taken into account
from static source code analysis.

Markus Elfring (2):
Use memdup_user() rather than duplicating its implementation
Combine three condition checks into one statement

drivers/misc/xilinx_sdfec.c | 29 ++++++++---------------------
1 file changed, 8 insertions(+), 21 deletions(-)

--
2.24.0

\
 
 \ /
  Last update: 2019-11-05 19:52    [W:0.572 / U:0.256 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site