Hello David Howells, This is a semi-automatic email about new static checker warnings. The patch 9549332df4ed: "fscache: Implement cache registration" from Oct 20, 2021, leads to the following Smatch complaint: fs/fscache/cache.c:186 fscache_put_cache() warn: variable dereferenced before IS_ERR check 'cache' (see line 182) fs/fscache/cache.c 181 { 182 unsigned int debug_id = cache->debug_id; ^^^^^^^^^^^^^^^ Dereferenced 183 bool zero; 184 int ref; 185 186 if (IS_ERR_OR_NULL(cache)) ^^^^^ Checked too late. 187 return; 188 regards, dan carpenter -- Linux-cachefs mailing list Linux-cachefs@xxxxxxxxxx https://listman.redhat.com/mailman/listinfo/linux-cachefs