The patch titled HIL: fix improper call of release_region v2 has been added to the -mm tree. Its filename is hil-fix-improper-call-of-release_region-v2.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: HIL: fix improper call of release_region v2 From: "Cyrill V. Gorcunov" <gorcunov@xxxxxxxxx> Thist patch prevents from improper call of release_region if the code has been compiled without CONFIG_HP300 support. Signed-off-by: Cyrill V. Gorcunov <gorcunov@xxxxxxxxx> Acked-by: Helge Deller <deller@xxxxxx> Cc: "Dmitry Torokhov" <dmitry.torokhov@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/input/keyboard/hilkbd.c | 2 ++ 1 files changed, 2 insertions(+) diff -puN drivers/input/keyboard/hilkbd.c~hil-fix-improper-call-of-release_region-v2 drivers/input/keyboard/hilkbd.c --- a/drivers/input/keyboard/hilkbd.c~hil-fix-improper-call-of-release_region-v2 +++ a/drivers/input/keyboard/hilkbd.c @@ -294,8 +294,10 @@ err3: disable_irq(HIL_IRQ); free_irq(HIL_IRQ, hil_dev.dev_id); err2: +#if defined(CONFIG_HP300) release_region(HILBASE + HIL_DATA, 2); err1: +#endif input_free_device(hil_dev.dev); hil_dev.dev = NULL; return err; _ Patches currently in -mm which might be from gorcunov@xxxxxxxxx are origin.patch hil-fix-improper-call-of-release_region-v2.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