Skip to contentSkip to conversation

mmc: block: Add MMC write packing statistics

PATCH [email protected] 1 participant 1 message Jun 6, 2012

Subsystems (2)
lore
Share & tools
lore
#0 lore raw
Quoted 3 lines
Quoted 2 lines

+
+       for (i = 1 ; i <= max_num_of_packed_reqs ; ++i) {

This is something magical number for iterations. why can not we start

from

Quoted 1 line

zero.

The statistics are kept in the array in the index that equals the number of packed requests. Therefore, they are kept in the array in indexes 1 to max num of packed reqs.
I will add a comment to explain that.

Thanks,
Maya Erez
Consultant for Qualcomm Innovation Center, Inc. Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum