lkml.org 
[lkml]   [2022]   [Sep]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] serial: 8250: Let drivers request full 16550A feature probing
On Mon, 19 Sep 2022, Jiri Slaby wrote:

> > > Why __u64 and not u64?
> >
> > For consistency as there's `__u32' used elsewhere in this file. It's not
> > clear to me what our rules WRT the use of `s*'/`u*' vs `__s*'/`__u*' are.
> > I don't think we have it mentioned under Documentation/. Please clarify
> > if you know and I can update the change accordingly.
>
> The rule is, AFAICT, use __u*/__s* in user (uapi) headers. Everywhere else,
> use u*/s*.

Fair enough, that's consistent with ISO C's designation of identifiers
whose names start with an underscore as reserved (for system use, etc.).

Maciej

\
 
 \ /
  Last update: 2022-09-21 01:44    [W:0.047 / U:0.720 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site