On Wed, 2011-06-15 at 18:02 -0400, Pavel Roskin wrote: > WARN_ON is not enough, as we cannot return a valid index, and the > callers will use whatever we return, causing a cascade of oopses and > eventually a panic. Can you show the details of that? 0 should always be an at least semi-valid index pointing to _something_ whereas -EINVAL will cause it to point to random memory that isn't even valid... johannes -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html