From: Jeffrey <Jeffrey.Brown@xxxxxxxxxx> Fixed the camel cases for the static void testUnicode testUnicode -> testunicode unicodeString -> unicodestring Signed-off-by: Jeffrey Brown <Jeffrey.Brown@xxxxxxxxxx> --- drivers/staging/unisys/visorchipset/visorchipset_main.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/staging/unisys/visorchipset/visorchipset_main.c b/drivers/staging/unisys/visorchipset/visorchipset_main.c index 3d2d435..174e90a 100644 --- a/drivers/staging/unisys/visorchipset/visorchipset_main.c +++ b/drivers/staging/unisys/visorchipset/visorchipset_main.c @@ -518,10 +518,10 @@ static ssize_t remaining_steps_store(struct device *dev, #if 0 static void -testUnicode(void) +testunicode(void) { - wchar_t unicodeString[] = { 'a', 'b', 'c', 0 }; - char s[sizeof(unicodeString) * NLS_MAX_CHARSET_SIZE]; + wchar_t unicodestring[] = { 'a', 'b', 'c', 0 }; + char s[sizeof(unicodestring) * NLS_MAX_CHARSET_SIZE]; wchar_t unicode2[99]; /* NOTE: Either due to a bug, or feature I don't understand, the @@ -531,14 +531,14 @@ testUnicode(void) LOGINF("sizeof(wchar_t) = %d", sizeof(wchar_t)); LOGINF("utf8_wcstombs=%d", - chrs = utf8_wcstombs(s, unicodeString, sizeof(s))); + chrs = utf8_wcstombs(s, unicodestring, sizeof(s))); if (chrs >= 0) s[chrs] = '\0'; /* GRRRRRRRR */ LOGINF("s='%s'", s); LOGINF("utf8_mbstowcs=%d", chrs = utf8_mbstowcs(unicode2, s, 100)); if (chrs >= 0) unicode2[chrs] = 0; /* GRRRRRRRR */ - if (memcmp(unicodeString, unicode2, sizeof(unicodeString)) == 0) + if (memcmp(unicodestring, unicode2, sizeof(unicodestring)) == 0) LOGINF("strings match... good"); else LOGINF("strings did not match!!"); -- 1.8.4 _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel