On Fri, Apr 03, 2020 at 02:47:50PM +0200, Tomek The Messenger wrote: > Hi > What happens with devm_kzalloc and devm_kcalloc data when probe function > returns not 0? > Is this memory automatically deallocated?
Yes. Try it and see :) greg k-h _______________________________________________ Kernelnewbies mailing list [email protected] https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
