Tag: 2f27a3e298e33fa6caa4e1c57ff6773a4bcbf69c

Staging: lustre: Remove print statement on function failure

Author: Bhumika Goyal <bhumirks@gmail.com> The memory allocation functions generates a call stack containing all the context information on failure, so print statements can be removed on failure of these functions. Also remove unwanted {} around if block after removal of these statements. Done using coccinelle: @@ expression e,e1,e2; identifier x; @@ e=\(kmalloc\|kmalloc_array\|kzalloc\| devm_kzalloc\)(…); …when!=e=e1 if(!e) …

Continue reading