[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20090621.232109.26082365.davem@davemloft.net>
Date: Sun, 21 Jun 2009 23:21:09 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: jaswinder@...nel.org
Cc: bzolnier@...il.com, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] IDE: ide-taskfile.c fix compilation warning and cleanup
From: Jaswinder Singh Rajput <jaswinder@...nel.org>
Date: Mon, 22 Jun 2009 11:39:33 +0530
> }
> @@ -227,7 +227,9 @@ void ide_pio_bytes(ide_drive_t *drive, struct ide_cmd *cmd,
> struct scatterlist *sg = hwif->sg_table;
> struct scatterlist *cursg = cmd->cursg;
> struct page *page;
> +#ifdef CONFIG_HIGHMEM
> unsigned long flags;
> +#endif
Please use __maybe_unused, which is designed for this kind of
situation.
Thank you.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists