Re: [PATCH v2] of/base: release the node correctly in of_parse_phandle_with_args()

From: Timur Tabi
Date: Wed Apr 17 2013 - 07:27:30 EST


Tang Yuantian-B29983 wrote:
It was placed on ELSE statement originally, I moved it to IF statement.
Why is it so wrong?

Because the logic of the comment applies to the else-condition, not the if-condtion.

--
Timur Tabi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/