|
|
a5bd9f6 |
From a0e1ddf87544a8371fff110c451576016ca81fb3 Mon Sep 17 00:00:00 2001
|
|
|
a5bd9f6 |
From: Colin Watson <cjwatson@ubuntu.com>
|
|
|
a5bd9f6 |
Date: Sun, 30 Dec 2012 09:57:58 +0000
|
|
|
a5bd9f6 |
Subject: [PATCH 073/364] * grub-core/bus/usb/ehci.c (grub_ehci_pci_iter):
|
|
|
a5bd9f6 |
Remove incorrect __attribute__ ((unused)). * grub-core/video/bochs.c
|
|
|
a5bd9f6 |
(find_card): Likewise. * grub-core/video/cirrus.c (find_card): Likewise. *
|
|
|
a5bd9f6 |
grub-core/video/radeon_fuloong2e.c (find_card): Likewise. *
|
|
|
a5bd9f6 |
grub-core/video/sis315pro.c (find_card): Likewise. * grub-core/video/sm712.c
|
|
|
a5bd9f6 |
(find_card): Likewise.
|
|
|
a5bd9f6 |
|
|
|
a5bd9f6 |
---
|
|
|
a5bd9f6 |
ChangeLog | 10 ++++++++++
|
|
|
a5bd9f6 |
grub-core/bus/usb/ehci.c | 3 +--
|
|
|
a5bd9f6 |
grub-core/video/bochs.c | 2 +-
|
|
|
a5bd9f6 |
grub-core/video/cirrus.c | 2 +-
|
|
|
a5bd9f6 |
grub-core/video/radeon_fuloong2e.c | 4 ++--
|
|
|
a5bd9f6 |
grub-core/video/sis315pro.c | 4 ++--
|
|
|
a5bd9f6 |
grub-core/video/sm712.c | 4 ++--
|
|
|
a5bd9f6 |
7 files changed, 19 insertions(+), 10 deletions(-)
|
|
|
a5bd9f6 |
|
|
|
a5bd9f6 |
diff --git a/ChangeLog b/ChangeLog
|
|
|
a5bd9f6 |
index 3bca6fd..36f1bff 100644
|
|
|
a5bd9f6 |
--- a/ChangeLog
|
|
|
a5bd9f6 |
+++ b/ChangeLog
|
|
|
a5bd9f6 |
@@ -1,3 +1,13 @@
|
|
|
a5bd9f6 |
+2012-12-30 Colin Watson <cjwatson@ubuntu.com>
|
|
|
a5bd9f6 |
+
|
|
|
a5bd9f6 |
+ * grub-core/bus/usb/ehci.c (grub_ehci_pci_iter): Remove incorrect
|
|
|
a5bd9f6 |
+ __attribute__ ((unused)).
|
|
|
a5bd9f6 |
+ * grub-core/video/bochs.c (find_card): Likewise.
|
|
|
a5bd9f6 |
+ * grub-core/video/cirrus.c (find_card): Likewise.
|
|
|
a5bd9f6 |
+ * grub-core/video/radeon_fuloong2e.c (find_card): Likewise.
|
|
|
a5bd9f6 |
+ * grub-core/video/sis315pro.c (find_card): Likewise.
|
|
|
a5bd9f6 |
+ * grub-core/video/sm712.c (find_card): Likewise.
|
|
|
a5bd9f6 |
+
|
|
|
a5bd9f6 |
2012-12-28 Colin Watson <cjwatson@ubuntu.com>
|
|
|
a5bd9f6 |
|
|
|
a5bd9f6 |
* util/grub-mkconfig.in: Accept GRUB_TERMINAL_OUTPUT=vga_text.
|
|
|
a5bd9f6 |
diff --git a/grub-core/bus/usb/ehci.c b/grub-core/bus/usb/ehci.c
|
|
|
a5bd9f6 |
index d99a4be..dc5bf71 100644
|
|
|
a5bd9f6 |
--- a/grub-core/bus/usb/ehci.c
|
|
|
a5bd9f6 |
+++ b/grub-core/bus/usb/ehci.c
|
|
|
a5bd9f6 |
@@ -455,8 +455,7 @@ grub_ehci_reset (struct grub_ehci *e)
|
|
|
a5bd9f6 |
|
|
|
a5bd9f6 |
/* PCI iteration function... */
|
|
|
a5bd9f6 |
static int NESTED_FUNC_ATTR
|
|
|
a5bd9f6 |
-grub_ehci_pci_iter (grub_pci_device_t dev,
|
|
|
a5bd9f6 |
- grub_pci_id_t pciid __attribute__ ((unused)))
|
|
|
a5bd9f6 |
+grub_ehci_pci_iter (grub_pci_device_t dev, grub_pci_id_t pciid)
|
|
|
a5bd9f6 |
{
|
|
|
a5bd9f6 |
grub_uint8_t release;
|
|
|
a5bd9f6 |
grub_uint32_t class_code;
|
|
|
a5bd9f6 |
diff --git a/grub-core/video/bochs.c b/grub-core/video/bochs.c
|
|
|
a5bd9f6 |
index 79cae65..f6db137 100644
|
|
|
a5bd9f6 |
--- a/grub-core/video/bochs.c
|
|
|
a5bd9f6 |
+++ b/grub-core/video/bochs.c
|
|
|
a5bd9f6 |
@@ -210,7 +210,7 @@ grub_video_bochs_setup (unsigned int width, unsigned int height,
|
|
|
a5bd9f6 |
int pitch, bytes_per_pixel;
|
|
|
a5bd9f6 |
grub_size_t page_size; /* The size of a page in bytes. */
|
|
|
a5bd9f6 |
|
|
|
a5bd9f6 |
- auto int NESTED_FUNC_ATTR find_card (grub_pci_device_t dev, grub_pci_id_t pciid __attribute__ ((unused)));
|
|
|
a5bd9f6 |
+ auto int NESTED_FUNC_ATTR find_card (grub_pci_device_t dev, grub_pci_id_t pciid);
|
|
|
a5bd9f6 |
int NESTED_FUNC_ATTR find_card (grub_pci_device_t dev, grub_pci_id_t pciid)
|
|
|
a5bd9f6 |
{
|
|
|
a5bd9f6 |
grub_pci_address_t addr;
|
|
|
a5bd9f6 |
diff --git a/grub-core/video/cirrus.c b/grub-core/video/cirrus.c
|
|
|
a5bd9f6 |
index 7fad50e..e711119 100644
|
|
|
a5bd9f6 |
--- a/grub-core/video/cirrus.c
|
|
|
a5bd9f6 |
+++ b/grub-core/video/cirrus.c
|
|
|
a5bd9f6 |
@@ -245,7 +245,7 @@ grub_video_cirrus_setup (unsigned int width, unsigned int height,
|
|
|
a5bd9f6 |
int found = 0;
|
|
|
a5bd9f6 |
int pitch, bytes_per_pixel;
|
|
|
a5bd9f6 |
|
|
|
a5bd9f6 |
- auto int NESTED_FUNC_ATTR find_card (grub_pci_device_t dev, grub_pci_id_t pciid __attribute__ ((unused)));
|
|
|
a5bd9f6 |
+ auto int NESTED_FUNC_ATTR find_card (grub_pci_device_t dev, grub_pci_id_t pciid);
|
|
|
a5bd9f6 |
int NESTED_FUNC_ATTR find_card (grub_pci_device_t dev, grub_pci_id_t pciid)
|
|
|
a5bd9f6 |
{
|
|
|
a5bd9f6 |
grub_pci_address_t addr;
|
|
|
a5bd9f6 |
diff --git a/grub-core/video/radeon_fuloong2e.c b/grub-core/video/radeon_fuloong2e.c
|
|
|
a5bd9f6 |
index 32f66c7..45a68ed 100644
|
|
|
a5bd9f6 |
--- a/grub-core/video/radeon_fuloong2e.c
|
|
|
a5bd9f6 |
+++ b/grub-core/video/radeon_fuloong2e.c
|
|
|
a5bd9f6 |
@@ -69,8 +69,8 @@ grub_video_radeon_fuloong2e_setup (unsigned int width, unsigned int height,
|
|
|
a5bd9f6 |
int found = 0;
|
|
|
a5bd9f6 |
|
|
|
a5bd9f6 |
#ifndef TEST
|
|
|
a5bd9f6 |
- auto int NESTED_FUNC_ATTR find_card (grub_pci_device_t dev, grub_pci_id_t pciid __attribute__ ((unused)));
|
|
|
a5bd9f6 |
- int NESTED_FUNC_ATTR find_card (grub_pci_device_t dev, grub_pci_id_t pciid __attribute__ ((unused)))
|
|
|
a5bd9f6 |
+ auto int NESTED_FUNC_ATTR find_card (grub_pci_device_t dev, grub_pci_id_t pciid);
|
|
|
a5bd9f6 |
+ int NESTED_FUNC_ATTR find_card (grub_pci_device_t dev, grub_pci_id_t pciid)
|
|
|
a5bd9f6 |
{
|
|
|
a5bd9f6 |
grub_pci_address_t addr;
|
|
|
a5bd9f6 |
grub_uint32_t class;
|
|
|
a5bd9f6 |
diff --git a/grub-core/video/sis315pro.c b/grub-core/video/sis315pro.c
|
|
|
a5bd9f6 |
index 5d06daa..d213877 100644
|
|
|
a5bd9f6 |
--- a/grub-core/video/sis315pro.c
|
|
|
a5bd9f6 |
+++ b/grub-core/video/sis315pro.c
|
|
|
a5bd9f6 |
@@ -99,8 +99,8 @@ grub_video_sis315pro_setup (unsigned int width, unsigned int height,
|
|
|
a5bd9f6 |
unsigned i;
|
|
|
a5bd9f6 |
|
|
|
a5bd9f6 |
#ifndef TEST
|
|
|
a5bd9f6 |
- auto int NESTED_FUNC_ATTR find_card (grub_pci_device_t dev, grub_pci_id_t pciid __attribute__ ((unused)));
|
|
|
a5bd9f6 |
- int NESTED_FUNC_ATTR find_card (grub_pci_device_t dev, grub_pci_id_t pciid __attribute__ ((unused)))
|
|
|
a5bd9f6 |
+ auto int NESTED_FUNC_ATTR find_card (grub_pci_device_t dev, grub_pci_id_t pciid);
|
|
|
a5bd9f6 |
+ int NESTED_FUNC_ATTR find_card (grub_pci_device_t dev, grub_pci_id_t pciid)
|
|
|
a5bd9f6 |
{
|
|
|
a5bd9f6 |
grub_pci_address_t addr;
|
|
|
a5bd9f6 |
grub_uint32_t class;
|
|
|
a5bd9f6 |
diff --git a/grub-core/video/sm712.c b/grub-core/video/sm712.c
|
|
|
a5bd9f6 |
index 5f22c40..d780983 100644
|
|
|
a5bd9f6 |
--- a/grub-core/video/sm712.c
|
|
|
a5bd9f6 |
+++ b/grub-core/video/sm712.c
|
|
|
a5bd9f6 |
@@ -370,8 +370,8 @@ grub_video_sm712_setup (unsigned int width, unsigned int height,
|
|
|
a5bd9f6 |
grub_err_t err;
|
|
|
a5bd9f6 |
int found = 0;
|
|
|
a5bd9f6 |
|
|
|
a5bd9f6 |
- auto int NESTED_FUNC_ATTR find_card (grub_pci_device_t dev, grub_pci_id_t pciid __attribute__ ((unused)));
|
|
|
a5bd9f6 |
- int NESTED_FUNC_ATTR find_card (grub_pci_device_t dev, grub_pci_id_t pciid __attribute__ ((unused)))
|
|
|
a5bd9f6 |
+ auto int NESTED_FUNC_ATTR find_card (grub_pci_device_t dev, grub_pci_id_t pciid);
|
|
|
a5bd9f6 |
+ int NESTED_FUNC_ATTR find_card (grub_pci_device_t dev, grub_pci_id_t pciid)
|
|
|
a5bd9f6 |
{
|
|
|
a5bd9f6 |
grub_pci_address_t addr;
|
|
|
a5bd9f6 |
grub_uint32_t class;
|
|
|
a5bd9f6 |
--
|
|
|
a5bd9f6 |
1.8.1.4
|
|
|
a5bd9f6 |
|