Re: [PATCH v2] crypto: hisilicon - allow smaller reads in debugfs

2020-06-04 Thread Shukun Tan
Hi Dan, On 2020/6/2 21:54, Dan Carpenter wrote: > Originally this code rejected any read less than 256 bytes. There > is no need for this artificial limit. We should just use the normal > helper functions to read a string from the kernel. > > Signed-off-by: Dan Carpenter > --- > v2: Use

Re: [PATCH] crypto: hisilicon/qm - allow smaller reads in debugfs

2020-05-31 Thread Shukun Tan
Hi Dan & Zhou, On 2020/5/28 20:37, Dan Carpenter wrote: > Originally this code rejected any read less than 256 bytes. There > is no need for this artificial limit. > > Also I have changed the snprintf() functions to scnprintf(). The > difference is that snprintf() returns the number of bytes