Re: [PATCH 5/5] brcm80211: remove the rest of broadcom specific byte swapping routines

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2011-02-20 at 20:09 +0100, Jonas Gorski wrote:
> On 20 February 2011 19:43, Stanislav Fomichev <kernel@xxxxxxxxxxx> wrote:
> > diff --git a/drivers/staging/brcm80211/util/bcmsrom.c b/drivers/staging/brcm80211/util/bcmsrom.c
[]
> > +static inline ltoh16_buf(u16 *buf, unsigned int size)
[]
> Shouldn't this be something like *(buf + size) = le16_to_cpu(*(buf +
> size));? Else the actual buffer content won't be changed.
> > +static inline htol16_buf(u16 *buf, unsigned int size)
[]
> Same here.

Both should be static inline void


_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel


[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux