Tag: 8d4cd9c8e2596e28cb9e13e2e20a493cb082283a

staging: mt29f_spinand: Replacing pr_info with dev_info after the call to devm_kzalloc

Author: G Pooja Shamili <poojashamili@gmail.com> The function devm_kzalloc has a first argument of type struct device *. This is the type of argument required by printing functions such as dev_info, dev_err, etc. Thus, functions like pr_info should not normally be used after a call to devm_kzalloc. Thus, all pr_info occurances are replaced with dev_info function …

Continue reading