[SCSI] pm80xx: fix for memory region free
commitbfb4809f7fff2f2db3d0de41ea4f49fd3f2f0aa4
authorSakthivel K <Sakthivel.SaravananKamalRaju@pmcs.com>
Mon, 4 Feb 2013 06:40:02 +0000 (4 12:10 +0530)
committerJames Bottomley <JBottomley@Parallels.com>
Fri, 22 Feb 2013 15:44:40 +0000 (22 15:44 +0000)
treee6fafc6056c5ee6dd7d3b230fe2c09bfa6a6f2d2
parent5eca4a67b803172eeee7684282348652f9261c5c
[SCSI] 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.

Signed-off-by: Sakthivel K <DL.Team.PMC.SPC.Linux.open.source@pmcs.com>
Signed-off-by: Anand Kumar S <DL.Team.PMC.SPC.Linux.open.source@pmcs.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/pm8001/pm8001_init.c