Re: [PATCH 1/3] arch/powerpc/platforms/pseries: Add missing of_node_put

2008-01-01 Thread Stephen Rothwell
On Tue, 1 Jan 2008 22:02:49 +0100 (CET) Julia Lawall <[EMAIL PROTECTED]> wrote: > > From: Julia Lawall <[EMAIL PROTECTED]> > > Of_get_parent and of_find_compatible_node do an of_node_get, and thus a > corresponding of_code_put is needed in the error case. Thanks for these. In the future, any pat

[PATCH 1/3] arch/powerpc/platforms/pseries: Add missing of_node_put

2008-01-01 Thread Julia Lawall
From: Julia Lawall <[EMAIL PROTECTED]> Of_get_parent and of_find_compatible_node do an of_node_get, and thus a corresponding of_code_put is needed in the error case. The problem was found using the following semantic match. (http://www.emn.fr/x-info/coccinelle/) // @@ type T,T1,T2; identifier