All of lore.kernel.org
 help / color / mirror / Atom feed
From: Paul Larson <pl@us.ibm.com>
To: xen-devel <xen-devel@lists.xensource.com>
Subject: A few more gcc4isms
Date: Fri, 22 Apr 2005 15:00:19 -0500	[thread overview]
Message-ID: <1114200019.6127.139.camel@localhost.localdomain> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 866 bytes --]

Here's a couple more gcc4 cleanups.
Signed-off-by: Paul Larson <pl@us.ibm.com>

--- xen-unstable/xen/common/grant_table.c2005-04-21 22:14:31.000000000
-0500
+++ xen-unstable-fix/xen/common/grant_table.c2005-04-22
14:54:34.000000000 -0500@@ -437,7 +437,7 @@ gnttab_map_grant_ref(
     gnttab_map_grant_ref_t *uop, unsigned int count)
 {
     int i, flush = 0;
-    unsigned long va;
+    unsigned long va=0;

     for ( i = 0; i < count; i++ )
         if ( __gnttab_map_grant_ref(&uop[i], &va) == 0 )
@@ -633,7 +633,7 @@ gnttab_unmap_grant_ref(
     gnttab_unmap_grant_ref_t *uop, unsigned int count)
 {
     int i, flush = 0;
-    unsigned long va;
+    unsigned long va=0;

     for ( i = 0; i < count; i++ )
         if ( __gnttab_unmap_grant_ref(&uop[i], &va) == 0 )
-- 
Thanks,
Paul Larson
pl@us.ibm.com
IBM Linux Technology Center

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel

             reply	other threads:[~2005-04-22 20:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-22 20:00 Paul Larson [this message]
2005-04-22 20:10 ` A few more gcc4isms Adam Heath

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=1114200019.6127.139.camel@localhost.localdomain \
    --to=pl@us.ibm.com \
    --cc=xen-devel@lists.xensource.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 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.