]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/lockd/xdr.c
lockd: Eliminate harmless mixed sign comparison in nlmdbg_cookie2a()
[karo-tx-linux.git] / fs / lockd / xdr.c
index 633653bff9440632417dc8aaba3491e62265416c..3e459e18cc31ba2efeaca67dc9b40ae506604247 100644 (file)
@@ -612,8 +612,7 @@ const char *nlmdbg_cookie2a(const struct nlm_cookie *cookie)
         * called with BKL held.
         */
        static char buf[2*NLM_MAXCOOKIELEN+1];
-       int i;
-       int len = sizeof(buf);
+       unsigned int i, len = sizeof(buf);
        char *p = buf;
 
        len--;  /* allow for trailing \0 */