pm80xx: fix for memory region free
Subsystems (2)
PATCH 1/15 pm80xx: fix for memory region free
Quoted 1 line
From
56ee53f01663fa479c0624b81e36545ea5b1ab94Mon Sep 17 00:00:00 2001
From: Sakthivel K <[email protected]>
Date: Mon, 4 Feb 2013 12:10:02 +0530
Subject: [PATCH 01/15] 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.
--- drivers/scsi/pm8001/pm8001_init.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
drivers/scsi/pm8001/pm8001_init.c +2 -1
@@ -140,7 +140,8 @@ static void pm8001_free(struct pm8001_hba_info *pm8001_ha)for (i =0 ; i <USI_MAX_MEMCNT ; i++) {if (pm8001_ha->memoryMap.region[i].virt_ptr !=NULL ) {pci_free_consistent (pm8001_ha->pdev, - pm8001_ha->memoryMap.region[i].element_size, + (pm8001_ha->memoryMap.region[i].total_len + + pm8001_ha->memoryMap.region[i].alignment), pm8001_ha->memoryMap.region[i].virt_ptr, pm8001_ha->memoryMap.region[i].phys_addr); }
Signature · 1 line
1.7.1
James Bottomley
maintainerdrivers/scsi/pm8001/pm8001_init.c
Quoted 16 lines · Anand
Quoted 1 line
From
56ee53f01663fa479c0624b81e36545ea5b1ab94Mon Sep 17 00:00:00 2001From: Sakthivel K <[email protected]>
Date: Mon, 4 Feb 2013 12:10:02 +0530
Subject: [PATCH 01/15] pm80xx: fix for memory region freeAll memory regions are allocated based on variables
total_lenand alignment but free was based onelement_size.Signed-off-by Sakthivel K <[email protected]>Signed-off-by Anand Kumar S <[email protected]>--- drivers/scsi/pm8001/pm8001_init.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)drivers/scsi/pm8001/pm8001_init.c +0
-0
Can you please fix whatever it is you're doing that's causing this. The 100755 at the end of the index directive indicates that you've incorrectly added execute permissions to the file. I've stripped all these off again, but it's annoying.
Thanks,
James
James Bottomley
maintainerQuoted 10 lines · Anand
Quoted 1 line
From
56ee53f01663fa479c0624b81e36545ea5b1ab94Mon Sep 17 00:00:00 2001From: Sakthivel K <[email protected]>
Date: Mon, 4 Feb 2013 12:10:02 +0530
Subject: [PATCH 01/15] pm80xx: fix for memory region freeAll memory regions are allocated based on variables
total_lenand alignment but free was based onelement_size.Signed-off-by Sakthivel K <[email protected]>Signed-off-by Anand Kumar S <[email protected]>
This address doesn't resolve either
Quoted 10 lines
Reporting-MTA: dns;bby1exg01.pmc_nt.nt.pmc-sierra.bc.ca
Received-From-MTA: dns;bby1mta02.pmc-sierra.bc.ca
Arrival-Date: Fri, 22 Feb 2013 10:19:53 -0800Original-Recipient: rfc822;[email protected]
Final-Recipient: rfc822;[email protected]
Action: failed
Status: 5.7.1
X-Display-Name: DL Team PMC SPC Linux open source
We need resolvable addresses for signoffs, please.
Thanks,
James
Hi James,
We are planning to resubmit the patchset for pm8001 from patch 2 onwards
with your comments addressed.
In short we will address the following
1. Use resolvable email addressed in patch.
2. Change the permission for patchset to 644 instead of 755.
3. We have merged patch 2, 3, 4 into a single patch to resolve compilation and
individual patch functionality issue.
4. We will be attaching the individual patches in the email as well as submit
the patch inline within the email.
Regards
Anand
-----Original Message-----
From: James Bottomley [mailto:[email protected]]
Sent: Saturday, February 23, 2013 4:35 AM
To: Anand Kumar Santhanam
Cc: [email protected]; [email protected]; Sangeetha Gnanasekaran; Vishwanath Maram; Harry Yang
Subject: Re: [PATCH 01/15] pm80xx: fix for memory region free
Quoted 6 lines · Anand
Quoted 2 lines
From
56ee53f01663fa479c0624b81e36545ea5b1ab94Mon Sep 17 00:00:00 2001From: Sakthivel K <[email protected]>
Date: Mon, 4 Feb 2013 12:10:02 +0530
Subject: [PATCH 01/15] pm80xx: fix for memory region free
Quoted 7 lines
All memory regions are allocated based on variables
total_lenand alignment but free was based onelement_size.Signed-off-by: Sakthivel K
<[email protected]>
Signed-off-by: Anand Kumar S
<[email protected]>
This address doesn't resolve either
Quoted 10 lines
Reporting-MTA: dns;bby1exg01.pmc_nt.nt.pmc-sierra.bc.ca
Received-From-MTA: dns;bby1mta02.pmc-sierra.bc.ca
Arrival-Date: Fri, 22 Feb 2013 10:19:53 -0800Original-Recipient: rfc822;[email protected]
Final-Recipient: rfc822;[email protected]
Action: failed
Status: 5.7.1
X-Display-Name: DL Team PMC SPC Linux open source
We need resolvable addresses for signoffs, please.
Thanks,
James
Hi James,
The patches for pm80xx driver has been resubmitted based on your review feedback. Could you pls include the same for 3.9?
Regards
Anand
-----Original Message-----
From: James Bottomley [mailto:[email protected]]
Sent: Saturday, February 23, 2013 4:35 AM
To: Anand Kumar Santhanam
Cc: [email protected]; [email protected]; Sangeetha Gnanasekaran; Vishwanath Maram; Harry Yang
Subject: Re: [PATCH 01/15] pm80xx: fix for memory region free
Quoted 6 lines · Anand
Quoted 2 lines
From
56ee53f01663fa479c0624b81e36545ea5b1ab94Mon Sep 17 00:00:00 2001From: Sakthivel K <[email protected]>
Date: Mon, 4 Feb 2013 12:10:02 +0530
Subject: [PATCH 01/15] pm80xx: fix for memory region free
Quoted 7 lines
All memory regions are allocated based on variables
total_lenand alignment but free was based onelement_size.Signed-off-by: Sakthivel K
<[email protected]>
Signed-off-by: Anand Kumar S
<[email protected]>
This address doesn't resolve either
Quoted 10 lines
Reporting-MTA: dns;bby1exg01.pmc_nt.nt.pmc-sierra.bc.ca
Received-From-MTA: dns;bby1mta02.pmc-sierra.bc.ca
Arrival-Date: Fri, 22 Feb 2013 10:19:53 -0800Original-Recipient: rfc822;[email protected]
Final-Recipient: rfc822;[email protected]
Action: failed
Status: 5.7.1
X-Display-Name: DL Team PMC SPC Linux open source
We need resolvable addresses for signoffs, please.
Thanks,
James