[merged] regulator-missing-index-in-ptr_err-in-isl6271a_probe.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     regulator: missing index in PTR_ERR() in isl6271a_probe()
has been removed from the -mm tree.  Its filename was
     regulator-missing-index-in-ptr_err-in-isl6271a_probe.patch

This patch was dropped because it was merged into mainline or a subsystem tree

The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/

------------------------------------------------------
Subject: regulator: missing index in PTR_ERR() in isl6271a_probe()
From: roel kluin <roel.kluin@xxxxxxxxx>

The index is missing so the return is wrong.

Signed-off-by: Roel Kluin <roel.kluin@xxxxxxxxx>
Cc: Liam Girdwood <lrg@xxxxxxxxxxxxxxx>
Acked-by: Mark Brown <broonie@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/regulator/isl6271a-regulator.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/regulator/isl6271a-regulator.c~regulator-missing-index-in-ptr_err-in-isl6271a_probe drivers/regulator/isl6271a-regulator.c
--- a/drivers/regulator/isl6271a-regulator.c~regulator-missing-index-in-ptr_err-in-isl6271a_probe
+++ a/drivers/regulator/isl6271a-regulator.c
@@ -173,7 +173,7 @@ static int __devinit isl6271a_probe(stru
 						init_data, pmic);
 		if (IS_ERR(pmic->rdev[i])) {
 			dev_err(&i2c->dev, "failed to register %s\n", id->name);
-			err = PTR_ERR(pmic->rdev);
+			err = PTR_ERR(pmic->rdev[i]);
 			goto error;
 		}
 	}
_

Patches currently in -mm which might be from roel.kluin@xxxxxxxxx are

linux-next.patch
btrfs-dont-dereference-extent_mapping-if-null.patch
macintosh-wrong-test-in-fan_readwrite_reg.patch
frv-duplicate-output_buffer-of-e03.patch
frv-duplicate-output_buffer-of-e03-checkpatch-fixes.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


[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux