staging: vchiq_arm: remove hardcoded buffer length
authorStefan Wahren <stefan.wahren@i2se.com>
Mon, 31 Oct 2016 14:39:30 +0000 (14:39 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Nov 2016 10:05:47 +0000 (11:05 +0100)
commit6d5f49a9f618806e2826d66215bd38c4dd9b3d16
tree54324a221d53fb2d7852876b71d9a36cf00e571c
parentd10543ec14154c492bbc530575990fa00c6c7fd5
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