All of lore.kernel.org
 help / color / mirror / Atom feed
From: Arnd Bergmann <arnd@arndb.de>
To: Arun Sharma <arun.sharma@intel.com>
Cc: Paul Mackerras <paulus@samba.org>,
	"David S. Miller" <davem@redhat.com>,
	linux-arch@vger.kernel.org
Subject: Re: compat_sys_adjtimex
Date: Thu, 1 Jul 2004 15:02:09 +0200	[thread overview]
Message-ID: <200407011502.14131.arnd@arndb.de> (raw)
In-Reply-To: <40E362D6.7010908@intel.com>

[-- Attachment #1: Type: text/plain, Size: 1235 bytes --]

On Donnerstag, 1. Juli 2004 03:03, Arun Sharma wrote:
> 
> +struct compat_timex {
> +       u32 modes;
> +       s32 offset, freq, maxerror, esterror;
> +       s32 status, constant, precision, tolerance;
> +       struct compat_timeval time;
> +       s32 tick;
> +       s32 ppsfreq, jitter, shift, stabil;
> +       s32 jitcnt, calcnt, errcnt, stbcnt;
> +       s32  :32; s32  :32; s32  :32; s32  :32;
> +       s32  :32; s32  :32; s32  :32; s32  :32;
> +       s32  :32; s32  :32; s32  :32; s32  :32;
> +};
> +

I'd personally prefer to use type names like compat_ulong_t
in the place of u32 when the a member in the original struct
is unsigned long.

> +asmlinkage long compat_sys_adjtimex(struct compat_timex *utp)
> +
This is missing a semicolon.

I had done my own version of compat_sys_adjtimex and most of
the other sys32_* functions that are worth consolidating some time
ago. Unfortunately I never got around to bringing them into a
proper patch for for submission. Would you like to have my code
so you can finish it?
As an alternative approach I can prepare patches that simply
add the compat_sys_* functions and leave it to each arch maintainer
to remove their own versions.

	Arnd <><

[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2004-07-01 13:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-30 19:03 compat_sys_adjtimex Arun Sharma
2004-06-30 20:53 ` compat_sys_adjtimex David S. Miller
2004-06-30 23:44   ` compat_sys_adjtimex Paul Mackerras
2004-07-01  1:03     ` compat_sys_adjtimex Arun Sharma
2004-07-01 13:02       ` Arnd Bergmann [this message]
2004-07-01 18:24         ` compat_sys_adjtimex Arun Sharma
2004-07-02 18:21         ` compat_sys_adjtimex Arun Sharma
  -- strict thread matches above, loose matches on Subject: below --
2004-07-02 19:12 compat sys adjtimex Arnd Bergmann

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=200407011502.14131.arnd@arndb.de \
    --to=arnd@arndb.de \
    --cc=arun.sharma@intel.com \
    --cc=davem@redhat.com \
    --cc=linux-arch@vger.kernel.org \
    --cc=paulus@samba.org \
    /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 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.