The patch titled Subject: drivers/thermal/rcar_thermal.c: fix compilation errors has been added to the -mm tree. Its filename is drivers-thermal-rcar_thermalc-fix-compilation-errors.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx> Subject: drivers/thermal/rcar_thermal.c: fix compilation errors This patch fixup following error ${LINUX}/drivers/thermal/rcar_thermal.c: In function 'rcar_thermal_probe': ${LINUX}/drivers/thermal/rcar_thermal.c:214:9: warning: passing argument 3 \ of 'thermal_zone_device_register' makes integer from pointer without\ a cast [enabled by default] ${LINUX}/include/linux/thermal.h:215:29: note: expected 'int' but argument \ is of type 'struct rcar_thermal_priv *' ${LINUX}/drivers/thermal/rcar_thermal.c:214:9:\ error: too few arguments to function 'thermal_zone_device_register' Signed-off-by: Devendra Naga <develkernel412222@xxxxxxxxx> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx> Cc: Zhang Rui <rui.zhang@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/thermal/rcar_thermal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/thermal/rcar_thermal.c~drivers-thermal-rcar_thermalc-fix-compilation-errors drivers/thermal/rcar_thermal.c --- a/drivers/thermal/rcar_thermal.c~drivers-thermal-rcar_thermalc-fix-compilation-errors +++ a/drivers/thermal/rcar_thermal.c @@ -210,7 +210,7 @@ static int rcar_thermal_probe(struct pla goto error_free_priv; } - zone = thermal_zone_device_register("rcar_thermal", 0, priv, + zone = thermal_zone_device_register("rcar_thermal", 0, 0, priv, &rcar_thermal_zone_ops, NULL, 0, 0); if (IS_ERR(zone)) { dev_err(&pdev->dev, "thermal zone device is NULL\n"); _ Patches currently in -mm which might be from kuninori.morimoto.gx@xxxxxxxxxxx are origin.patch linux-next.patch drivers-thermal-rcar_thermalc-fix-compilation-errors.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html