[Makedumpfile PATCH V2] elf_info: fix file_size if segment is excluded

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On Wednesday 10 May 2017 08:58 AM, Xunlei Pang wrote:
>> +				(*pt_loads)[i].file_size -= (temp_seg.file_size
>> +					+ end - start);
> Hi Pratyush,
>
> Don't we need to move the "(*pt_loads)[i].file_size" minus "(end - start)" down
> to the tail of "if (kvstart <  vend && kvend > vstart)" condition for all cases?

Yes..sent v3.

Thanks for review.

~Pratyush



[Index of Archives]     [LM Sensors]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux