Re: [PATCH 05/12] megaraid_sas : Donot use PAGE_SIZE macro for calculation of max_sectors per IO request

2015-10-16 Thread Tomas Henzl
On 15.10.2015 10:10, sumit.sax...@avagotech.com wrote: > Do not use PAGE_SIZE marco to calculate max_sectors per IO request. Driver > code assumes PAGE_SIZE will be always 4096 which can do lead to wrongly > calculated value if PAGE_SIZE is not 4096. This issue was reported in Ubuntu > Bugzilla

[PATCH 05/12] megaraid_sas : Donot use PAGE_SIZE macro for calculation of max_sectors per IO request

2015-10-15 Thread sumit . saxena
Do not use PAGE_SIZE marco to calculate max_sectors per IO request. Driver code assumes PAGE_SIZE will be always 4096 which can do lead to wrongly calculated value if PAGE_SIZE is not 4096. This issue was reported in Ubuntu Bugzilla Bug #1475166. Cc: Signed-off-by: Sumit Saxena Signed-off-by: