staging: vchiq_arm: remove hardcoded buffer length
authorStefan Wahren <stefan.wahren@i2se.com>
Mon, 31 Oct 2016 14:39:30 +0000 (14:39 +0000)
committerJaechul Lee <jcsing.lee@samsung.com>
Fri, 18 Aug 2017 01:04:49 +0000 (10:04 +0900)
commitfbf782277207350e89e5d822dea389bb2e67882f
treecd883c9fe442e24b20f3ce3c7e6482cea02dc647
parent9073eb1a35d0c92a2f6a188582e54f3c8df61e61
staging: vchiq_arm: remove hardcoded buffer length

We better use sizeof instead of hardcoding buffer length multiple
times. This make it easier to increase the buffer in the future.
In order to keep below 80 chars limit make the variable name shorter.

Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c