staging: keucr: Use memcmp() & memcpy() instead of custom String[Cmp|Copy] functions
v4 cover staging: keucr: Use memcmp() & memcpy() instead of custom String[Cmp|Copy] functions
This patchset make some cleanup to staging/keucr. Use memcmp and memcpy instead of custom functions. Also some style cleanups recomended by Dan Carpenter, Joe Perches and Gábor Stefanik.
The patches in this patchset are the following:
[PATCH 1/4] staging: keucr: Use memcmp() instead custom StringCmp() and some style cleanups [PATCH 2/4] staging: keucr: Use memcpy() instead custom StringCopy() and some style cleanups [PATCH 3/4] staging: keucr: Delete StringCmp() and StringCopy custom functions [PATCH 4/4] staging: keucr: Delete use kernel strcmp() & strcpy() from TODO file
drivers/staging/keucr/TODO | 3 +- drivers/staging/keucr/smilecc.c | 16 ++++++--- drivers/staging/keucr/smilsub.c | 69 ++++++++++---------------------------- 3 files changed, 29 insertions(+), 59 deletions(-)
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCHv4 0/4] staging: keucr: Use memcmp() & memcpy() instead
Quoted 10 lines · Javier Martinez Canillas
This patchset make some cleanup to staging/keucr. Use memcmp and memcpy instead of custom functions. Also some style cleanups recomended by Dan Carpenter, Joe Perches and Gábor Stefanik.
The patches in this patchset are the following:
[PATCH 1/4] staging: keucr: Use
memcmp()instead customStringCmp()and some style cleanups [PATCH 2/4] staging: keucr: Usememcpy()instead customStringCopy()and some style cleanups [PATCH 3/4] staging: keucr: DeleteStringCmp()and StringCopy custom functions [PATCH 4/4] staging: keucr: Delete use kernelstrcmp()&strcpy()from TODO file
Looks good. v1 made me grumpy. v2 was ok. v4 is what all patches should look like. :)
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html