Re: [PATCH] IDE: ide-taskfile.c fix compilation warning and cleanup
From: David Miller
Date: Mon Jun 22 2009 - 02:21:23 EST
From: Jaswinder Singh Rajput <jaswinder@xxxxxxxxxx>
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/