All of lore.kernel.org
 help / color / mirror / Atom feed
* linux vs c99 fixed width types
@ 2010-07-02  1:13 Eliot Blennerhassett
  2010-07-02 10:28 ` Mark Brown
  0 siblings, 1 reply; 3+ messages in thread
From: Eliot Blennerhassett @ 2010-07-02  1:13 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

Hi Takashi, & list

it is quite likely that we will be moving our own codebase to use the
C99 fixed width types rather than our own  e.g. uint32_t vs HW32 etc.

Currently HW32 is translated into u32 before I submit patches to you.
Should I do the same for the C99 types, or let them pass through unaltered?

regards

-- 
Eliot Blennerhassett
AudioScience Inc.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: linux vs c99 fixed width types
  2010-07-02  1:13 linux vs c99 fixed width types Eliot Blennerhassett
@ 2010-07-02 10:28 ` Mark Brown
  2010-07-05  9:29   ` Takashi Iwai
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Brown @ 2010-07-02 10:28 UTC (permalink / raw)
  To: Eliot Blennerhassett; +Cc: Takashi Iwai, alsa-devel

On Fri, Jul 02, 2010 at 01:13:26PM +1200, Eliot Blennerhassett wrote:

> Currently HW32 is translated into u32 before I submit patches to you.
> Should I do the same for the C99 types, or let them pass through unaltered?

Linux standard is to use u32 and friends rather than the C99 types.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: linux vs c99 fixed width types
  2010-07-02 10:28 ` Mark Brown
@ 2010-07-05  9:29   ` Takashi Iwai
  0 siblings, 0 replies; 3+ messages in thread
From: Takashi Iwai @ 2010-07-05  9:29 UTC (permalink / raw)
  To: Mark Brown; +Cc: Eliot Blennerhassett, alsa-devel

At Fri, 2 Jul 2010 11:28:51 +0100,
Mark Brown wrote:
> 
> On Fri, Jul 02, 2010 at 01:13:26PM +1200, Eliot Blennerhassett wrote:
> 
> > Currently HW32 is translated into u32 before I submit patches to you.
> > Should I do the same for the C99 types, or let them pass through unaltered?
> 
> Linux standard is to use u32 and friends rather than the C99 types.

Yes, I also prefer u32 and co unless they must be C99 types
(e.g. exported and shared with user-space).


thanks,

Takashi

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-07-05  9:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-02  1:13 linux vs c99 fixed width types Eliot Blennerhassett
2010-07-02 10:28 ` Mark Brown
2010-07-05  9:29   ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.