public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: "David S. Miller" <davem@redhat.com>
To: akpm@zip.com.au
Cc: torvalds@transmeta.com, linux-kernel@vger.kernel.org
Subject: Re: [patch 1/12] misc fixes
Date: Fri, 09 Aug 2002 18:24:33 -0700 (PDT)	[thread overview]
Message-ID: <20020809.182433.69288385.davem@redhat.com> (raw)
In-Reply-To: <3D54647C.DB6DE08A@zip.com.au>

   From: Andrew Morton <akpm@zip.com.au>
   Date: Fri, 09 Aug 2002 17:55:24 -0700
   
   - `retval' should not be initialised to "~0UL" because that is
     0x00000000ffffffff with 64-bit sector_t.
   
'0' defaults to 'int' on 32-bit systems so ~0 isn't right either.

What I think you really want is "~(sector_t) 0".

  reply	other threads:[~2002-08-10  1:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-10  0:55 [patch 1/12] misc fixes Andrew Morton
2002-08-10  1:24 ` David S. Miller [this message]
2002-08-10 12:05   ` Anton Altaparmakov
2002-08-10 13:18     ` Marcin Dalecki

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=20020809.182433.69288385.davem@redhat.com \
    --to=davem@redhat.com \
    --cc=akpm@zip.com.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /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