Re: [PATCH 3/3] Revert "scripts/common: fix write_file when opened with mmap"

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

 





On 28. 02. 22 11:16, Sascha Hauer wrote:
On Thu, Feb 24, 2022 at 02:22:12PM +0100, Andrej Picej wrote:
Hi Sascha,

sorry for responding this late, but we are still getting the same errors as
before when using bareboximd with these three patches.

Are you sure we can revert this patch? The file can still be opened in
bareboximd with mmap(), and then be written with this write_file(), which
fails with the same error:

Cannot write to barebox.bin: Bad address
CRC: write crc token to barebox.bin failed: -14
Bad address

Damn, my bad. It seems my brain was on vacation. I just created a fix
for this, you should be on Cc.


No worries, it happens :). Thanks for a quick fix. it works as intended :).

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux