Re: [PATCH v2 1/2] net: Fix the displayed value of bytes transferred

2023-08-23 Thread Tom Rini
On Mon, Aug 14, 2023 at 10:23:47AM +0530, Siddharth Vadapalli wrote: > In the case of NETLOOP_SUCCESS, the decimal value of the u32 variable > "net_boot_file_size" is printed using "%d", resulting in negative values > being reported for large file sizes. Fix this by using "%u" to print the > decim

Re: [PATCH v2 1/2] net: Fix the displayed value of bytes transferred

2023-08-14 Thread Tom Rini
On Mon, Aug 14, 2023 at 10:23:47AM +0530, Siddharth Vadapalli wrote: > In the case of NETLOOP_SUCCESS, the decimal value of the u32 variable > "net_boot_file_size" is printed using "%d", resulting in negative values > being reported for large file sizes. Fix this by using "%u" to print the > decim

[PATCH v2 1/2] net: Fix the displayed value of bytes transferred

2023-08-13 Thread Siddharth Vadapalli
In the case of NETLOOP_SUCCESS, the decimal value of the u32 variable "net_boot_file_size" is printed using "%d", resulting in negative values being reported for large file sizes. Fix this by using "%u" to print the decimal value corresponding to the bytes transferred. Fixes: 1411157d8578 ("net: c