From: Alan Cox <alan@linux.intel.com>
To: Oliver Neukum <oneukum@suse.de>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>,
linux-i2c@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] hmc6352: Add driver for the HMC6352 compass
Date: Thu, 17 Jun 2010 13:46:50 +0100 [thread overview]
Message-ID: <20100617134650.501b14bb@linux.intel.com> (raw)
In-Reply-To: <201006171426.08442.oneukum@suse.de>
> > Its an array anyway - there isn't as such a 'correct macro' nor
> > does it need to be using one.
>
> So why does he use this unstructured data? Do we just hope the
> compiler is good enough on big endian architectures?
Its an array because it comes from an i2c bus which is a bytestream.
There is no structure on the i2c bus and the device is defined to
return a pair of bytes in this manner.
Alan
next prev parent reply other threads:[~2010-06-17 13:10 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-16 12:16 Alan Cox
2010-06-16 12:43 ` Oliver Neukum
2010-06-17 11:20 ` Alan Cox
2010-06-17 12:26 ` Oliver Neukum
2010-06-17 12:46 ` Alan Cox [this message]
2010-06-16 13:10 ` Jean Delvare
2010-06-17 11:50 ` Alan Cox
2010-06-17 12:19 ` Jonathan Cameron
2010-06-17 13:14 ` Alan Cox
2010-06-17 14:52 ` Jean Delvare
2010-06-17 15:17 ` Alan Cox
2010-06-17 15:56 ` Jean Delvare
2010-06-16 14:46 ` Jonathan Cameron
2010-06-17 11:34 ` Alan Cox
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100617134650.501b14bb@linux.intel.com \
--to=alan@linux.intel.com \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-i2c@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=oneukum@suse.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Powered by JetHome