commit | f853f8305bc2ab24a2f5fb24c4635c645cc7f9d1 | [log] [tgz] |
---|---|---|
author | Nicolas Palix <[email protected]> | Sun Jun 06 17:15:06 2010 +0200 |
committer | Michal Marek <[email protected]> | Sat Jun 12 00:00:29 2010 +0200 |
tree | dd397d99cbe8974a9a7daac55a294a7b98c28afb | |
parent | 09c35396ecadceb13f0b3fb77da200b6da6a0e37 [diff] |
Add scripts/coccinelle/err_cast.cocci Add a Coccinelle file to use the ERR_CAST function Before the release 2.6.25, one had to use ERR_PTR(PTR_ERR(...)) to convert the pointer type of an error. Since then, the function ERR_CAST has been available for that purpose. Signed-off-by: Nicolas Palix <[email protected]> Signed-off-by: Julia Lawall <[email protected]> Signed-off-by: Michal Marek <[email protected]>