Re: [PATCH 1/2] staging: wlan-ng: introduce a macro read_u16

2017-03-13 Thread Greg KH
On Mon, Mar 13, 2017 at 02:14:25PM +0100, Gioh Kim wrote: > read_u16 is wrapper of le16_to_cpu to read u16 variable, > rather than __le16. > > Signed-off-by: Gioh Kim > --- > drivers/staging/wlan-ng/prism2mgmt.h | 3 +++ > 1 file changed, 3 insertions(+) > > diff

Re: [PATCH 1/2] staging: wlan-ng: introduce a macro read_u16

2017-03-13 Thread Greg KH
On Mon, Mar 13, 2017 at 02:14:25PM +0100, Gioh Kim wrote: > read_u16 is wrapper of le16_to_cpu to read u16 variable, > rather than __le16. > > Signed-off-by: Gioh Kim > --- > drivers/staging/wlan-ng/prism2mgmt.h | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git

[PATCH 1/2] staging: wlan-ng: introduce a macro read_u16

2017-03-13 Thread Gioh Kim
read_u16 is wrapper of le16_to_cpu to read u16 variable, rather than __le16. Signed-off-by: Gioh Kim --- drivers/staging/wlan-ng/prism2mgmt.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/staging/wlan-ng/prism2mgmt.h

[PATCH 1/2] staging: wlan-ng: introduce a macro read_u16

2017-03-13 Thread Gioh Kim
read_u16 is wrapper of le16_to_cpu to read u16 variable, rather than __le16. Signed-off-by: Gioh Kim --- drivers/staging/wlan-ng/prism2mgmt.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/staging/wlan-ng/prism2mgmt.h b/drivers/staging/wlan-ng/prism2mgmt.h index