re: nfsd: add the infrastructure to handle the cld upcall

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Jeff Layton,

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

The patch f3f8014862d8: "nfsd: add the infrastructure to handle the 
cld upcall" from Mar 21, 2012, leads to the following Smatch 
complaint:

fs/nfsd/nfs4recover.c:605 cld_pipe_downcall()
	 error: we previously assumed 'cup' could be null (see line 604)

fs/nfsd/nfs4recover.c
   603		/* couldn't find upcall? */
   604		if (!cup) {
                    ^^^^
Check.

   605			dprintk("%s: couldn't find upcall -- xid=%u\n", __func__,
   606				cup->cu_msg.cm_xid);
                                ^^^^^
Dereference.

   607			return -EINVAL;

regards,
dan carpenter

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux