From: Tom Rini Date: Wed, 16 May 2018 08:50:31 -0400 Subject: [U-Boot] [U-Boot, v3, 8/9] usb: f_mass_storage: Fix set_bit and clear_bit usage In-Reply-To: <20180430145610.18250-9-pure.logic@nexus-software.ie> References: <20180430145610.18250-9-pure.logic@nexus-software.ie> Message-ID: <20180516125031.GE3424@bill-the-cat.ec.rr.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Apr 30, 2018 at 03:56:09PM +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 > > Looking at the provenance of the current u-boot code and the git change > history in the kernel, it looks like we have a local copy of set_bit and > clear_bit as a hold-over from porting the Linux driver into u-boot. > > These days __set_bit and __clear_bit are optionally provided by an arch and > can be used as inputs to generic_bit_set and generic_bit_clear. > > This patch switches over to generic_set_bit and generic_clear_bit to > accommodate. > > Tested on i.MX WaRP7 and Intel Edison > > Signed-off-by: Bryan O'Donoghue > Cc: Lukasz Majewski > Cc: Marek Vasut 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: