• Alan Stern's avatar
    [PATCH] USB: ERRBUF_LEN compiling error when PAGE_SIZE=64KB on IA64 · eaf5fbc4
    Alan Stern authored
    Randy, thanks for forwarding this to me.
    
    > Johannes,
    >
    > When I compile base kernel 2.6.1 with PAGE_SIZE=64KB on an IA64
    > platform, there is an error.
    >   CC      init/version.o
    >   LD      init/built-in.o
    >   LD      .tmp_vmlinux1
    > drivers/built-in.o(.init.text+0x168a2): In function `uhci_hcd_init':
    > : undefined reference to `__you_cannot_kmalloc_that_much'
    > make: *** [.tmp_vmlinux1] Error 1
    >
    > That's because ERRBUF_LEN (equal to PAGE_SIZE*8) is too long when
    > PAGE_SIZE=64KB. Actually, there was a similar error found by Tony. See
    > http://marc.theaimsgroup.com/?l=linux-ia64&m=105604765306485&w=2.
    >
    > Could you change the definition of ERRBUF_LEN to a fixed value? For
    > example, 32*1024?
    >
    > Yanmin
    
    Yanmin, I'm the new maintainer for the UHCI driver.  Yep, that's a
    definite error.  This will fix it.
    
    Also included in this patch: change some confusing references from "high
    speed" to "full speed" and add proper hyphenation.
    eaf5fbc4
uhci-hcd.h 13.8 KB