disp: msm: sde: increase buf array size

This change increases the buf array size to
accommodate all the characters as the buf array
will store each digit of bit and enable as a char.
Bit and enable variables are uint32 which could
have max value of 2^32(10 digit), each digit of
both variable will be stored as a char in buf
(char)array.

Change-Id: Iab6fcddc425642a29c6c0a59884121e328707465
Signed-off-by: Gaurav LNU <quic_glnu@quicinc.com>
This commit is contained in:
Gaurav LNU
2023-03-12 23:18:27 -07:00
parent 132458ad67
commit bb2f14fff0

View File

@@ -7208,7 +7208,7 @@ static ssize_t _sde_debugfs_hw_fence_features_mask_wr(struct file *file,
{
struct sde_crtc *sde_crtc;
u32 bit, enable;
char buf[10];
char buf[25];
if (!file || !file->private_data)
return -EINVAL;