[PATCH] staging: emxx_udc: Use min_t instead of min
Daniel Baluta
daniel.baluta at gmail.com
Mon Sep 29 23:02:54 EEST 2014
On Mon, Sep 29, 2014 at 10:19 PM, Georgiana Chelu
<georgiana.chelu93 at gmail.com> wrote:
> I compiled the code and nothing was broken.
> There is no difference between compiling with and without first argument.
Please use bottom/interleaved posting.
If this code compiles on your machine then you are doing something wrong:
daniel at ixhome:~/repos/staging$ make drivers/staging/emxx_udc/emxx_udc.ko
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CALL scripts/checksyscalls.sh
CC drivers/staging/emxx_udc/emxx_udc.o
drivers/staging/emxx_udc/emxx_udc.c: In function ‘_nbu2ss_epn_out_data’:
drivers/staging/emxx_udc/emxx_udc.c:974:51: error: macro "min_t"
requires 3 arguments, but only 2 given
drivers/staging/emxx_udc/emxx_udc.c:974:14: error: ‘min_t’ undeclared
(first use in this function)
drivers/staging/emxx_udc/emxx_udc.c:974:14: note: each undeclared
identifier is reported only once for each function it appears in
make[1]: *** [drivers/staging/emxx_udc/emxx_udc.o] Error 1
make: *** [drivers/staging/emxx_udc/emxx_udc.ko] Error 2
Daniel.
More information about the firefly
mailing list