Tag: 324588eccc75a3a3d4beac2a0206122b23b90adc

staging: lustre: lustre: libcfs: Replaced printk() with pr_err() and pr_cont()

Author: Tina Johnson <tinajohnson.1234@gmail.com> The following checkpatch warning was fixed: Prefer [subsystem eg: netdev]_err([subsystem]dev with the help of Coccinelle. pr_cont() was used to replace those printk statements which followed a printk that did not end with a ‘\n’. The following semantic patch was used to replace printk() with pr_err(): @a@ expression e; @@ printk(e,…); @script:python …

Continue reading