[U-Boot] [U-Boot, v3, 9/9] usb: composite convert __set_bit to generic_set_bit

Tom Rini trini at konsulko.com
Wed May 16 12:50:35 UTC 2018


On Mon, Apr 30, 2018 at 03:56:10PM +0100, Bryan O'Donoghue wrote:

> Compiling the f_mass_storage driver for an x86 target results in a
> compilation error as set_bit and clear_bit are provided by bitops.h
> 
> To address that situation we discussed on the list moving to
> genetic_set_bit() instead.
> 
> Doing a quick grep for similar situations in drivers/usb shows that the
> composite device is using __set_bit().
> 
> This patch switches over to generic_set_bit to maintain consistency between
> the two gadget drivers.
> 
> Signed-off-by: Bryan O'Donoghue <pure.logic at nexus-software.ie>
> Cc: Lukasz Majewski <lukma at denx.de>
> Cc: Marek Vasut <marex at denx.de>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180516/42c836b8/attachment.sig>


More information about the U-Boot mailing list