All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: greg@kroah.com
Cc: randy.dunlap@oracle.com, sfr@canb.auug.org.au,
	linux-next@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: linux-next: Tree for October 21 (printk format warnings)
Date: Tue, 21 Oct 2008 22:07:54 -0700 (PDT)	[thread overview]
Message-ID: <20081021.220754.06835391.davem@davemloft.net> (raw)
In-Reply-To: <20081022050142.GA11674@kroah.com>

From: Greg KH <greg@kroah.com>
Date: Tue, 21 Oct 2008 22:01:42 -0700

> What's the expected modifier for "size_t" to work on all arches?

Put "%Z" in front of the output specifier you want to use,
for example %Zd for decimal and %Zx for hex.

> Same goes for the result of "size_of()", what should we use there?  Or
> are we just required to always cast things?

Sizeof should use the same as above.

  reply	other threads:[~2008-10-22  5:08 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-21  8:51 linux-next: Tree for October 21 Stephen Rothwell
2008-10-21 12:07 ` Josh Boyer
2008-10-21 12:14   ` Stephen Rothwell
2008-10-21 13:02     ` Josh Boyer
2008-10-21 17:20 ` David Woodhouse
2008-10-21 22:55   ` Stephen Rothwell
2008-10-22  4:25 ` linux-next: Tree for October 21 (jffs2) Randy Dunlap
2008-10-22  4:47 ` linux-next: Tree for October 21 (staging/prism2-usb) Randy Dunlap
2008-10-22  4:59   ` Greg KH
2008-10-22  5:05     ` Randy Dunlap
2008-10-22  4:57 ` linux-next: Tree for October 21 (printk format warnings) Randy Dunlap
2008-10-22  5:01   ` Greg KH
2008-10-22  5:07     ` David Miller [this message]
2008-10-22  5:11       ` Randy Dunlap
2008-10-22  5:20         ` David Miller
2008-10-22  5:09     ` Randy Dunlap

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=20081021.220754.06835391.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=greg@kroah.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=randy.dunlap@oracle.com \
    --cc=sfr@canb.auug.org.au \
    /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.