Tag: 5d19c619ab3f0551864684f09c2a2f22ee972bef

fsl/fman: Delete one function call « put_device » in dtsec_config()

Author: Markus Elfring <elfring@users.sourceforge.net> The Coccinelle semantic patch script « deref_null.cocci » pointed a problem out in the implementation of the function « dtsec_config ». A null pointer was assigned to the data structure member « tbiphy » of the variable « dtsec » if a matching device was not found. A call of the function « put_device » was unnecessary then because a previous …

Lire la suite