ceph: factor out libceph from Ceph file system
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:
Oh crap. I didn't read this at all. Obviously a false positive.
Sorry about that.
regards,
dan carpenter