Re: [PATCH v2 6/18] arcmsr: precise checking adapter ID

From: Christoph Hellwig
Date: Mon Aug 11 2014 - 09:13:28 EST


On Mon, Aug 04, 2014 at 04:55:12PM +0800, Ching Huang wrote:
> From: Ching Huang <ching2048@xxxxxxxxxxxx>
>
> This patch rewrites the arcmsr_define_adapter_type function to precisely check Areca adapter's ID.
> This can prevent an unknown adapter being used as a default adapter type by driver.
>
> Signed-off-by: Ching Huang <ching2048@xxxxxxxxxxxx>
> ---
>
> Thanks for Christoph advice.

This still doesn't use the private_data field in the pci device table.

--
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/