diff options
author | Linux Build Service Account <lnxbuild@localhost> | 2018-06-28 13:21:38 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-06-28 13:21:37 -0700 |
commit | d549a8ee6c6bdda1d08aba63d2ca5f5e71caed89 (patch) | |
tree | 450f2bfd7f003d0fba6a0b80afd412b40223e841 /drivers/soc/qcom/hab | |
parent | 709f444c2a46490caf88b4626a9655556d386c32 (diff) | |
parent | ad106a695ea19e6203c43e8f6c864444e8867167 (diff) |
Merge "soc: qcom: hab: increase the maximum size of message"
Diffstat (limited to 'drivers/soc/qcom/hab')
-rw-r--r-- | drivers/soc/qcom/hab/hab.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/soc/qcom/hab/hab.c b/drivers/soc/qcom/hab/hab.c index 48d61870f776..ef249bcba68c 100644 --- a/drivers/soc/qcom/hab/hab.c +++ b/drivers/soc/qcom/hab/hab.c @@ -1148,7 +1148,7 @@ static long hab_ioctl(struct file *filep, unsigned int cmd, unsigned long arg) break; case IOCTL_HAB_SEND: send_param = (struct hab_send *)data; - if (send_param->sizebytes > HAB_MAX_MSG_SIZEBYTES) { + if (send_param->sizebytes > HAB_HEADER_SIZE_MASK) { ret = -EINVAL; break; } |