+ usb-musb-dsps-fix-build-on-i386-when-compile_test-is-set.patch added to -mm tree

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

 



The patch titled
     Subject: usb: musb: dsps: fix build on i386 when COMPILE_TEST is set
has been added to the -mm tree.  Its filename is
     usb-musb-dsps-fix-build-on-i386-when-compile_test-is-set.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/usb-musb-dsps-fix-build-on-i386-when-compile_test-is-set.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/usb-musb-dsps-fix-build-on-i386-when-compile_test-is-set.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 ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Tony Lindgren <tony@xxxxxxxxxxx>
Subject: usb: musb: dsps: fix build on i386 when COMPILE_TEST is set

Commit 3e457371f436 ("usb: musb: Fix fifo reads for dm816x with musb_dsps")
fixed a USB error on dm816x, but introduced a new build error on i386
when COMPILE_TEST is set:

drivers/usb/musb/musb_dsps.c: In function `dsps_read_fifo32':
drivers/usb/musb/musb_dsps.c:624:3: error: implicit declaration of function
`readsl' [-Werror=implicit-function-declaration]
readsl(fifo, dst, len >> 2);

Let's fix this by using ioread32_rep() instead of readsl() as that's
more portable.

Signed-off-by: Tony Lindgren <tony@xxxxxxxxxxx>
Cc: Felipe Balbi <balbi@xxxxxx>
Cc: Greg KH <gregkh@xxxxxxxxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---

 drivers/usb/musb/musb_dsps.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/usb/musb/musb_dsps.c~usb-musb-dsps-fix-build-on-i386-when-compile_test-is-set drivers/usb/musb/musb_dsps.c
--- a/drivers/usb/musb/musb_dsps.c~usb-musb-dsps-fix-build-on-i386-when-compile_test-is-set
+++ a/drivers/usb/musb/musb_dsps.c
@@ -621,7 +621,7 @@ static void dsps_read_fifo32(struct musb
 	void __iomem *fifo = hw_ep->fifo;
 
 	if (len >= 4) {
-		readsl(fifo, dst, len >> 2);
+		ioread32_rep(fifo, dst, len >> 2);
 		dst += len & ~0x03;
 		len &= 0x03;
 	}
_

Patches currently in -mm which might be from tony@xxxxxxxxxxx are

linux-next.patch
usb-musb-dsps-fix-build-on-i386-when-compile_test-is-set.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