The patch titled lis3-remove-the-references-to-the-global-variable-in-core-driver-fix has been added to the -mm tree. Its filename is lis3-remove-the-references-to-the-global-variable-in-core-driver-fix.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 *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: lis3-remove-the-references-to-the-global-variable-in-core-driver-fix From: Ilkka Koskinen <ilkka.koskinen@xxxxxxxxx> Signed-off-by: Ilkka Koskinen <ilkka.koskinen@xxxxxxxxx> Signed-off-by: Éric Piel <eric.piel@xxxxxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/misc/lis3lv02d/lis3lv02d.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/misc/lis3lv02d/lis3lv02d.c~lis3-remove-the-references-to-the-global-variable-in-core-driver-fix drivers/misc/lis3lv02d/lis3lv02d.c --- a/drivers/misc/lis3lv02d/lis3lv02d.c~lis3-remove-the-references-to-the-global-variable-in-core-driver-fix +++ a/drivers/misc/lis3lv02d/lis3lv02d.c @@ -200,7 +200,7 @@ static int lis3lv02d_get_odr(struct lis3 u8 ctrl; int shift; - lis3->read(&lis3, CTRL_REG1, &ctrl); + lis3->read(lis3, CTRL_REG1, &ctrl); ctrl &= lis3->odr_mask; shift = ffs(lis3->odr_mask) - 1; return lis3->odrs[(ctrl >> shift)]; _ Patches currently in -mm which might be from ilkka.koskinen@xxxxxxxxx are lis3lv02d-avoid-divide-by-zero-due-to-unchecked.patch lis3-update-maintainer-information.patch lis3-add-support-for-hp-elitebook-2730p.patch lis3-add-support-for-hp-elitebook-8540w.patch hp_accel-add-hp-probook-655x.patch config_hp_accel-fix-help-text.patch lis3-free-regulators-if-probe-fails.patch lis3-change-naming-to-consistent.patch lis3-change-exported-function-to-use-given.patch lis3-remove-the-references-to-the-global-variable-in-core-driver.patch lis3-remove-the-references-to-the-global-variable-in-core-driver-fix.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