+ drivers-mtd-nand-cafe_nandc-fix-irq-handler-return-type.patch added to -mm tree

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

 



The patch titled
     drivers/mtd/nand/cafe_nand.c: fix irq handler return type
has been added to the -mm tree.  Its filename is
     drivers-mtd-nand-cafe_nandc-fix-irq-handler-return-type.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: drivers/mtd/nand/cafe_nand.c: fix irq handler return type
From: Zhenwen Xu <helight.xu@xxxxxxxxx>

drivers/mtd/nand/cafe_nand.c: In function `cafe_nand_probe':
drivers/mtd/nand/cafe_nand.c:730: warning: passing argument 2 of `request_irq' from incompatible pointer type

Signed-off-by: Zhenwen Xu <helight.xu@xxxxxxxxx>
Cc: <kyungmin.park@xxxxxxxxxxx>
Cc: David Woodhouse <dwmw2@xxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/mtd/nand/cafe_nand.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/mtd/nand/cafe_nand.c~drivers-mtd-nand-cafe_nandc-fix-irq-handler-return-type drivers/mtd/nand/cafe_nand.c
--- a/drivers/mtd/nand/cafe_nand.c~drivers-mtd-nand-cafe_nandc-fix-irq-handler-return-type
+++ a/drivers/mtd/nand/cafe_nand.c
@@ -332,7 +332,7 @@ static void cafe_select_chip(struct mtd_
 		cafe->ctl1 &= ~CTRL1_CHIPSELECT;
 }
 
-static int cafe_nand_interrupt(int irq, void *id)
+static irqreturn_t cafe_nand_interrupt(int irq, void *id)
 {
 	struct mtd_info *mtd = id;
 	struct cafe_priv *cafe = mtd->priv;
_

Patches currently in -mm which might be from helight.xu@xxxxxxxxx are

drivers-mtd-nand-cafe_nandc-fix-irq-handler-return-type.patch
fix-a-warning-on-drivers-net-via-velocityc.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