Hello. One last thing, hopefully. :) On 08/12/15 12:52, michael.hennerich@xxxxxxxxxx wrote: [snip]
+ + dev_info(&spi->dev, "mac802154 IRQ-%d registered\n", spi->irq); + + return ret; + + ieee802154_unregister_hw(lp->hw);
The function call after return will never be called. Guess you want to make sure the error handling is correct here.
+err_hw_init: + mutex_destroy(&lp->bmux); + ieee802154_free_hw(lp->hw);
regards Stefan Schmidt -- To unsubscribe from this list: send the line "unsubscribe linux-wpan" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html