Skip to contentSkip to conversation

staging: keucr: Use memcmp() & memcpy() instead of custom String[Cmp|Copy] functions

PATCH In review Javier Martinez Canillas 2 participants 2 messages Jan 2, 2011 – Jan 3, 2011 Kernel janitors

lore
Share & tools
lore
#0 lore raw

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

Acked-by on the v4 series
#1 lore raw

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 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

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