Home
last modified time | relevance | path

Searched hist:"7390 e8b0dee778b0a964337558990a91094e679a" (Results 1 – 2 of 2) sorted by relevance

/linux/include/linux/usb/
H A Drndis_host.hdiff 7390e8b0dee778b0a964337558990a91094e679a Sat May 12 00:15:39 CEST 2012 Linus Walleij <linus.walleij@linaro.org> usb/net: rndis: inline the cpu_to_le32() macro

The header file <linux/usb/rndis_host.h> used a number of #defines
that included the cpu_to_le32() macro to assure the result will be
in LE endianness. Inlining this into the code instead of using it
in the code definitions yields consolidation opportunities later
on as you will see in the following patches. The individual
drivers also used local defines - all are switched over to the
pattern of doing the conversion at the call sites instead.

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
/linux/drivers/net/usb/
H A Drndis_host.cdiff 7390e8b0dee778b0a964337558990a91094e679a Sat May 12 00:15:39 CEST 2012 Linus Walleij <linus.walleij@linaro.org> usb/net: rndis: inline the cpu_to_le32() macro

The header file <linux/usb/rndis_host.h> used a number of #defines
that included the cpu_to_le32() macro to assure the result will be
in LE endianness. Inlining this into the code instead of using it
in the code definitions yields consolidation opportunities later
on as you will see in the following patches. The individual
drivers also used local defines - all are switched over to the
pattern of doing the conversion at the call sites instead.

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: David S. Miller <davem@davemloft.net>