On Wed, 2011-05-18 at 16:04 -0700, Johannes Berg wrote: > On Mon, 2011-05-16 at 07:24 -0700, Wey-Yi Guy wrote: > > Check the return value for genlmsg_end and handle it. > > It can never return < 0: > > /** > * nlmsg_end - Finalize a netlink message > * @skb: socket buffer the message is stored in > * @nlh: netlink message header > * > * Corrects the netlink message header to include the appeneded > * attributes. Only necessary if attributes have been added to > * the message. > * > * Returns the total data length of the skb. > do we should remove all the checking all together? Wey > -- 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