public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
From: Jesse Barnes <jbarnes@sgi.com>
To: linux-ia64@vger.kernel.org
Subject: [PATCH] clean up pcibr_slot.c warnings
Date: Mon, 29 Mar 2004 18:55:48 +0000	[thread overview]
Message-ID: <200403291055.48664.jbarnes@sgi.com> (raw)

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

A few warnings crept into pcibr_slot.c that this patch takes care of.
  - forward declare pcibr_slot_pwr so it can be used w/o warning
  - fix argument passed to pcibr_slot_attach in pcibr_slot_enable

Jesse

[-- Attachment #2: pcibr_slot-warning-fixes.patch --]
[-- Type: text/plain, Size: 778 bytes --]

===== arch/ia64/sn/io/sn2/pcibr/pcibr_slot.c 1.19 vs edited =====
--- 1.19/arch/ia64/sn/io/sn2/pcibr/pcibr_slot.c	Thu Feb 19 09:12:31 2004
+++ edited/arch/ia64/sn/io/sn2/pcibr/pcibr_slot.c	Mon Mar 29 10:47:03 2004
@@ -47,6 +47,7 @@
 cfg_p pcibr_find_capability(cfg_p, unsigned);
 extern uint64_t  do_pcibr_config_get(cfg_p, unsigned, unsigned);
 void do_pcibr_config_set(cfg_p, unsigned, unsigned, uint64_t); 
+int pcibr_slot_pwr(vertex_hdl_t pcibr_vhdl, pciio_slot_t slot, int up, char *err_msg);
 
 
 /* 
@@ -351,7 +352,7 @@
         goto enable_unlock;
     }
 
-    error = pcibr_slot_attach(pcibr_vhdl, slot, NULL,
+    error = pcibr_slot_attach(pcibr_vhdl, slot, 0,
                               req_p->req_resp.resp_l1_msg,
 			      &req_p->req_resp.resp_sub_errno);
 

                 reply	other threads:[~2004-03-29 18:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=200403291055.48664.jbarnes@sgi.com \
    --to=jbarnes@sgi.com \
    --cc=linux-ia64@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox