Re: [U-Boot] [PATCH 1/1] fs: fat: avoid useless conversion when calling getcluster

2018-02-13 Thread Heinrich Schuchardt
On 02/13/2018 10:50 PM, Tuomas Tynkkynen wrote: Hi, On Tue, 13 Feb 2018 19:18:58 +0100 Heinrich Schuchardt wrote: Parameter size of function get_cluster() is of type unsigned long. It makes no sense to convert actsize to int before passing it to get_cluster as size. Signed-off-by: Heinrich S

Re: [U-Boot] [PATCH 1/1] fs: fat: avoid useless conversion when calling getcluster

2018-02-13 Thread Tuomas Tynkkynen
Hi, On Tue, 13 Feb 2018 19:18:58 +0100 Heinrich Schuchardt wrote: > Parameter size of function get_cluster() is of type unsigned long. It makes > no sense to convert actsize to int before passing it to get_cluster as > size. > > Signed-off-by: Heinrich Schuchardt > --- > fs/fat/fat.c | 8

Re: [U-Boot] [PATCH 1/1] fs: fat: avoid useless conversion when calling getcluster

2018-02-13 Thread Lukasz Majewski
On Tue, 13 Feb 2018 19:18:58 +0100 Heinrich Schuchardt wrote: > Parameter size of function get_cluster() is of type unsigned long. It > makes no sense to convert actsize to int before passing it to > get_cluster as size. > > Signed-off-by: Heinrich Schuchardt > --- > fs/fat/fat.c | 8 +---

[U-Boot] [PATCH 1/1] fs: fat: avoid useless conversion when calling getcluster

2018-02-13 Thread Heinrich Schuchardt
Parameter size of function get_cluster() is of type unsigned long. It makes no sense to convert actsize to int before passing it to get_cluster as size. Signed-off-by: Heinrich Schuchardt --- fs/fat/fat.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/fs/fat/fat.c b/