[ppc64-diag] Fix some build issues.
Vasant Hegde
hegdevasant at fedoraproject.org
Mon May 20 16:48:59 UTC 2013
commit e1cbcaff8a1e2a2bbd45918585d5a210dc6b0ca1
Author: Vasant Hegde <hegdevasant at linux.vnet.ibm.com>
Date: Mon May 20 22:16:24 2013 +0530
Fix some build issues.
ppc64-diag-unusedvar.patch | 11 +----------
1 files changed, 1 insertions(+), 10 deletions(-)
---
diff --git a/ppc64-diag-unusedvar.patch b/ppc64-diag-unusedvar.patch
index 0d43ac3..e521c53 100644
--- a/ppc64-diag-unusedvar.patch
+++ b/ppc64-diag-unusedvar.patch
@@ -22,7 +22,7 @@ diff -urN ppc64-diag-2.4.2/diags/7031_D24_T24.c ppc64-diag-2.4.2_/diags/7031_D24
if ((status & 0x0F000000) == 0x01000000)
printf("ok ");
@@ -348,7 +350,8 @@
- diag_7031_D24_T24(int fd, struct dev_vpd *vpd, int se, int verbose)
+ diag_7031_D24_T24(int fd, struct dev_vpd *vpd)
{
struct pearl_diag_page2 dp;
- int failure = 0, rc, encl_id;
@@ -97,12 +97,3 @@ diff -urN ppc64-diag-2.4.2/rtas_errd/guard.c ppc64-diag-2.4.2_/rtas_errd/guard.c
char capacity[6], quant_str[5];
char *drmgr_args[] = {DRMGR_PROGRAM_NOPATH, "-r", "-c", NULL,
NULL, NULL, NULL, NULL, NULL};
-@@ -368,7 +368,7 @@
- static void
- guard_spcpu(struct event *event, int ent_loss)
- {
-- int n_cpus, rc, quant, ent_cap;
-+ int n_cpus, __attribute__((unused)) rc = 0, quant, ent_cap;
- int min_ent_cap = d_cfg.min_entitled_capacity;
-
- /*
More information about the scm-commits
mailing list