Re: [U-Boot] [PATCH] fpga: Replace char * with const char * for filename

2019-02-20 Thread Michal Simek
On 20. 02. 19 13:03, Chee, Tien Fong wrote: > On Mon, 2019-02-18 at 13:27 +0100, Michal Simek wrote: >> On 15. 02. 19 8:57, tien.fong.c...@intel.com wrote: >>> >>> From: Tien Fong Chee >>> >>> Ensure the string for filename is always constant, otherwise it can >>> be >>> corrupted by the writing.

Re: [U-Boot] [PATCH] fpga: Replace char * with const char * for filename

2019-02-20 Thread Chee, Tien Fong
On Mon, 2019-02-18 at 13:27 +0100, Michal Simek wrote: > On 15. 02. 19 8:57, tien.fong.c...@intel.com wrote: > > > > From: Tien Fong Chee > > > > Ensure the string for filename is always constant, otherwise it can > > be > > corrupted by the writing. > Have you reach any issue with it? Just to r

Re: [U-Boot] [PATCH] fpga: Replace char * with const char * for filename

2019-02-18 Thread Michal Simek
On 15. 02. 19 8:57, tien.fong.c...@intel.com wrote: > From: Tien Fong Chee > > Ensure the string for filename is always constant, otherwise it can be > corrupted by the writing. Have you reach any issue with it? > > Signed-off-by: Tien Fong Chee > --- > drivers/fpga/zynqpl.c |3 ++- > in

[U-Boot] [PATCH] fpga: Replace char * with const char * for filename

2019-02-14 Thread tien . fong . chee
From: Tien Fong Chee Ensure the string for filename is always constant, otherwise it can be corrupted by the writing. Signed-off-by: Tien Fong Chee --- drivers/fpga/zynqpl.c |3 ++- include/fpga.h|2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/fpga