Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1607977

Re: [PATCH] staging: wilc1000: use kernel define byte order macros

From Robert Perry Hooker <perry.hooker@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH] staging: wilc1000: use kernel define byte order macros
Date 2017-03-23 23:20 +0100
Message-ID <tojfj-lE-5@gated-at.bofh.it> (permalink)
References (1 earlier) <tnyq5-8is-11@gated-at.bofh.it> <tnzPb-Jo-9@gated-at.bofh.it> <tnKKC-aT-19@gated-at.bofh.it> <to0cF-3tk-9@gated-at.bofh.it> <to6rM-88R-27@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Well, yes, all data is 'endian' one way or another, right? I guess the byte order of the tx/rx_buffers is host-endian
(which could be big), or _maybe_ network-endian...

Regards,
Perry

On Thu, 2017-03-23 at 11:33 +0300, Dan Carpenter wrote:
> On Wed, Mar 22, 2017 at 07:53:28PM -0600, Robert Perry Hooker wrote:
> > I don't think buff is an ieee80211_hdr struct. I think it's the rx_buffer allocated at wilc_wlan.c:1417.
> > 
> 
> The rx_buffer is going to end up filled with endian data, right?
> 
> regards,
> dan carpenter
> 

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] staging: wilc1000: use kernel define byte order macros Perry Hooker <perry.hooker@gmail.com> - 2017-03-21 21:10 +0100
  Re: [PATCH] staging: wilc1000: use kernel define byte order macros Dan Carpenter <dan.carpenter@oracle.com> - 2017-03-21 21:20 +0100
    Re: [PATCH] staging: wilc1000: use kernel define byte order macros Robert Perry Hooker <perry.hooker@gmail.com> - 2017-03-21 22:50 +0100
      Re: [PATCH] staging: wilc1000: use kernel define byte order macros Dan Carpenter <dan.carpenter@oracle.com> - 2017-03-22 10:30 +0100
        Re: [PATCH] staging: wilc1000: use kernel define byte order macros Robert Perry Hooker <perry.hooker@gmail.com> - 2017-03-23 03:00 +0100
          Re: [PATCH] staging: wilc1000: use kernel define byte order macros Dan Carpenter <dan.carpenter@oracle.com> - 2017-03-23 09:40 +0100
            Re: [PATCH] staging: wilc1000: use kernel define byte order macros Robert Perry Hooker <perry.hooker@gmail.com> - 2017-03-23 23:20 +0100
              Re: [PATCH] staging: wilc1000: use kernel define byte order macros Dan Carpenter <dan.carpenter@oracle.com> - 2017-03-24 10:00 +0100

csiph-web