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