[PATCH v2] thermal: i.MX: Allow thermal probe to fail gracefully in case of bad calibration.

2018-06-30 Thread Jean-Christophe Dubois
the division by zero is not triggeed anymore as the thermal probe does fail early. Signed-off-by: Jean-Christophe Dubois Reviewed-by: Fabio Estevam --- v2 changes: - improved subject line - added thermal maintainers in the destination list. drivers/thermal/imx_thermal.c | 5 - 1 file changed, 4

[PATCH v2] thermal: i.MX: Allow thermal probe to fail gracefully in case of bad calibration.

2018-06-30 Thread Jean-Christophe Dubois
the division by zero is not triggeed anymore as the thermal probe does fail early. Signed-off-by: Jean-Christophe Dubois Reviewed-by: Fabio Estevam --- v2 changes: - improved subject line - added thermal maintainers in the destination list. drivers/thermal/imx_thermal.c | 5 - 1 file changed, 4

Question on SLAB allocator.

2012-08-19 Thread Jean-Christophe DUBOIS
Hello, I was working on some memory related cleaning requirements and as part of this I tried to force all SLAB allocated memory (this is the allocator I use in my kernel) to be zeroized before being handed back to the requester. So basically in mm/slab.c (__cache_alloc_node() and

Question on SLAB allocator.

2012-08-19 Thread Jean-Christophe DUBOIS
Hello, I was working on some memory related cleaning requirements and as part of this I tried to force all SLAB allocated memory (this is the allocator I use in my kernel) to be zeroized before being handed back to the requester. So basically in mm/slab.c (__cache_alloc_node() and