[folded-merged] rtc-rtc-pcf8563-add-alarm-support-fix.patch removed from -mm tree

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

 



The patch titled
     Subject: drivers/rtc/rtc-pcf8563.c: fix irq request
has been removed from the -mm tree.  Its filename was
     rtc-rtc-pcf8563-add-alarm-support-fix.patch

This patch was dropped because it was folded into rtc-rtc-pcf8563-add-alarm-support.patch

------------------------------------------------------
From: Vincent Donnefort <vdonnefort@xxxxxxxxx>
Subject: drivers/rtc/rtc-pcf8563.c: fix irq request

pcf8563_probe() failed to check the devm_rtc_device_register() return value.

Signed-off-by: Vincent Donnefort <vdonnefort@xxxxxxxxx>
Reported-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/rtc/rtc-pcf8563.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff -puN drivers/rtc/rtc-pcf8563.c~rtc-rtc-pcf8563-add-alarm-support-fix drivers/rtc/rtc-pcf8563.c
--- a/drivers/rtc/rtc-pcf8563.c~rtc-rtc-pcf8563-add-alarm-support-fix
+++ a/drivers/rtc/rtc-pcf8563.c
@@ -419,7 +419,8 @@ static int pcf8563_probe(struct i2c_clie
 				pcf8563_driver.driver.name,
 				&pcf8563_rtc_ops, THIS_MODULE);
 
-	return PTR_ERR_OR_ZERO(pcf8563->rtc);
+	if (IS_ERR(pcf8563->rtc))
+		return PTR_ERR(pcf8563->rtc);
 
 	if (client->irq > 0) {
 		err = devm_request_threaded_irq(&client->dev, client->irq,
_

Patches currently in -mm which might be from vdonnefort@xxxxxxxxx are

rtc-rtc-pcf8563-introducing-readwrite_block_data.patch
rtc-rtc-pcf8563-add-alarm-support.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