Re: [PATCH V3 01/12] pm80xx: fix for memory region free

James Bottomley
2013-04-10T20:13:16Z

> >From 700bfe79294e9f9e1a5def178af52b13928902a9 Mon Sep 17 00:00:00 2001
> From: Sakthivel K <Sakthivel.SaravananKamalRaju@pmcs.com>
> Date: Mon, 4 Feb 2013 12:10:02 +0530
> Subject: [PATCH V3 01/12] pm80xx: fix for memory region free
>
> All memory regions are allocated based on variables total_len
> and alignment but free was based on element_size.

This patch doesn't compile. It's giving

ERROR: "pm8001_80xx_dispatch" [drivers/scsi/pm8001/pm8001.ko] undefined!
make[1]: *** [__modpost] Error 1

This is because of this hunk:

> @@ -44,8 +44,16 @@
>
> static struct scsi_transport_template *pm8001_stt;
>
> +/**
> + * chip info structure to identify chip key functionality as
> + * encryption available/not, no of ports, hw specific function ref
> + */