Re: [U-Boot] [PATCH v3 10/17] fs: Convert fs_read/write to take buffer instead of address

2018-06-15 Thread Alexander Graf
On 15.06.18 16:24, Simon Glass wrote: > Hi Alex, > > On 15 June 2018 at 06:42, Alexander Graf wrote: >> The fs_read() and fs_write() functions are internal interfaces that >> naturally want to get pointers as arguments. Most users so far even >> have pointers and explicitly cast them into integ

Re: [U-Boot] [PATCH v3 10/17] fs: Convert fs_read/write to take buffer instead of address

2018-06-15 Thread Simon Glass
Hi Alex, On 15 June 2018 at 06:42, Alexander Graf wrote: > The fs_read() and fs_write() functions are internal interfaces that > naturally want to get pointers as arguments. Most users so far even > have pointers and explicitly cast them into integers just to be able > to pass them into the funct

[U-Boot] [PATCH v3 10/17] fs: Convert fs_read/write to take buffer instead of address

2018-06-15 Thread Alexander Graf
The fs_read() and fs_write() functions are internal interfaces that naturally want to get pointers as arguments. Most users so far even have pointers and explicitly cast them into integers just to be able to pass them into the function. Convert them over to instead take a pointer argument for the