Hello Yehuda Sadeh,

This is a semi-automatic email about new static checker warnings.

The patch 3d14c5d2b6e1: "ceph: factor out libceph from Ceph file 
system" from Apr 6, 2010, leads to the following Smatch complaint:

fs/ceph/super.c:279 strcmp_null()
         error: we previously assumed 's1' could be null (see line 277)

fs/ceph/super.c
   276                  return -1;
   277          if (!s1 && s2)
                    ^^^^^^^^^
Check.

   278                  return 1;
   279          return strcmp(s1, s2);
                       ^^^^^^^^^^^^^^
Dereference inside function call.

   280  }
   281  

regards,
dan carpenter

See also:
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to