]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: netlogic: Replacing pr_err with dev_err after the call to devm_kzalloc
authorG Pooja Shamili <poojashamili@gmail.com>
Fri, 11 Mar 2016 23:52:02 +0000 (05:22 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 12 Mar 2016 06:14:06 +0000 (22:14 -0800)
commit0b204161eecf813e13a3ee169b1e21dfe9d9ed35
tree5a3585d0768abdc29f3aab14202b739791911adf
parent8d4cd9c8e2596e28cb9e13e2e20a493cb082283a
staging: netlogic: Replacing pr_err with dev_err after the call to devm_kzalloc

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_err occurances are
replaced with dev_err function calls

Signed-off-by: G Pooja Shamili <poojashamili@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/netlogic/xlr_net.c