Commit:     6c4b7e4fdf702136891f802bdf7ad52076594721
Parent:     2e91724658d5d6b5f10ad44c8742d7ec1f4833ed
Author:     David Rientjes <[EMAIL PROTECTED]>
AuthorDate: Wed May 23 14:41:52 2007 -0700
Committer:  James Bottomley <[EMAIL PROTECTED]>
CommitDate: Wed May 30 08:39:16 2007 -0500

    [SCSI] gdth: fix ambiguous gdthtable definition
    Labeling a variable as __attribute_used__ is ambiguous: it means
    __attribute__((unused)) for gcc <3.4 and __attribute__((used)) for gcc 
    There is no such thing as labeling a variable as __attribute__((used)).  We
    assume that we're simply suppressing a warning here if gdthtable[] is 
    but unreferenced.
    Acked-by: Achim Leubner <[EMAIL PROTECTED]>
    Signed-off-by: David Rientjes <[EMAIL PROTECTED]>
    Signed-off-by: Andrew Morton <[EMAIL PROTECTED]>
    Signed-off-by: James Bottomley <[EMAIL PROTECTED]>
 drivers/scsi/gdth.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/scsi/gdth.c b/drivers/scsi/gdth.c
index 60446b8..a4a8259 100644
--- a/drivers/scsi/gdth.c
+++ b/drivers/scsi/gdth.c
@@ -876,7 +876,7 @@ static int __init gdth_search_pci(gdth_pci_str *pcistr)
 /* Vortex only makes RAID controllers.
  * We do not really want to specify all 550 ids here, so wildcard match.
-static struct pci_device_id gdthtable[] __attribute_used__ = {
+static struct pci_device_id gdthtable[] __maybe_unused = {
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to