On 01/12/2016 10:12 AM, Christoph Hellwig wrote: > On Tue, Jan 12, 2016 at 12:27:43PM +0300, Dan Carpenter wrote: >> nes_reg_phys_mr() returns ERR_PTRs on error. It doesn't return NULL. >> >> This bug has been there for a while, but we recently changed from >> calling a function pointer to calling nes_reg_phys_mr() directly so now >> Smatch is able to detect the bug. > > Looks fine, > > Reviewed-by: Christoph Hellwig <hch@xxxxxx> > Thanks, applied. -- Doug Ledford <dledford@xxxxxxxxxx> GPG KeyID: 0E572FDD
Attachment:
signature.asc
Description: OpenPGP digital signature