You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Masahiro Yamada
b41411954d
linux/kernel.h: sync min, max, min3, max3 macros with Linux
...
U-Boot has never cared about the type when we get max/min of two
values, but Linux Kernel does. This commit gets min, max, min3, max3
macros synced with the kernel introducing type checks.
Many of references of those macros must be fixed to suppress warnings.
We have two options:
- Use min, max, min3, max3 only when the arguments have the same type
(or add casts to the arguments)
- Use min_t/max_t instead with the appropriate type for the first
argument
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Pavel Machek <pavel@denx.de>
Acked-by: Lukasz Majewski <l.majewski@samsung.com>
Tested-by: Lukasz Majewski <l.majewski@samsung.com>
[trini: Fixup arch/blackfin/lib/string.c]
Signed-off-by: Tom Rini <trini@ti.com>
10 years ago
..
Makefile
usb: s3c-otg: Split out PHY control
10 years ago
atmel_usba_udc.c
USB: gadget: atmel: get rid of debug compile warning
10 years ago
atmel_usba_udc.h
USB: gadget: add atmel usba udc driver
11 years ago
ci_udc.c
usb: ci_udc: respect CONFIG_USB_GADGET_DUALSPEED
10 years ago
ci_udc.h
usb: ci_udc: remove controller.items array
11 years ago
composite.c
linux/kernel.h: sync min, max, min3, max3 macros with Linux
10 years ago
config.c
usb: gadget: config: fix unaligned access issues
11 years ago
core.c
Add GPL-2.0+ SPDX-License-Identifier to source files
12 years ago
designware_udc.c
linux/kernel.h: sync min, max, min3, max3 macros with Linux
10 years ago
ep0.c
cosmetic: replace MIN, MAX with min, max
10 years ago
ep0.h
Add GPL-2.0+ SPDX-License-Identifier to source files
12 years ago
epautoconf.c
Add GPL-2.0+ SPDX-License-Identifier to source files
12 years ago
ether.c
lib, linux: move linux specific defines to linux/compat.h
10 years ago
f_dfu.c
usb: dfu: add fullspeed support for DFU
10 years ago
f_dfu.h
usb: dfu: f_dfu: Provide infrastructure to adjust DFU's Poll Timeout value
11 years ago
f_fastboot.c
usb: gadget: fastboot: terminate commands with NULL
10 years ago
f_mass_storage.c
usb: f_mass_storage: set removable flag in do_inquiry based on LUN
10 years ago
f_thor.c
usb: dfu: thor: gadget: Remove dead code
10 years ago
f_thor.h
sizes.h - consolidate for all architectures
11 years ago
fotg210.c
usb: gadget: fotg210: EP0 fifo empty indication is non-reliable
11 years ago
g_dnl.c
USB: gadget: save driver name before registering it
11 years ago
gadget_chips.h
usb: mv_udc: Rename to ci_udc
11 years ago
mpc8xx_udc.c
cosmetic: replace MIN, MAX with min, max
10 years ago
ndis.h
…
pxa25x_udc.c
Add GPL-2.0+ SPDX-License-Identifier to source files
12 years ago
pxa25x_udc.h
Add GPL-2.0+ SPDX-License-Identifier to source files
12 years ago
pxa27x_udc.c
linux/kernel.h: sync min, max, min3, max3 macros with Linux
10 years ago
regs-otg.h
driver:usb:s3c_udc: add support for Exynos4x12
11 years ago
rndis.c
…
rndis.h
…
s3c_udc_otg.c
usb: s3c-otg: Allow custom gusbcfg
10 years ago
s3c_udc_otg_phy.c
usb: s3c-otg: Split out PHY control
10 years ago
s3c_udc_otg_xfer_dma.c
linux/kernel.h: sync min, max, min3, max3 macros with Linux
10 years ago
storage_common.c
lib, linux: move linux specific defines to linux/compat.h
10 years ago
usbstring.c
usb: handle NULL table in usb_gadget_get_string
11 years ago