Make max device name length a constant

Signed-off-by: John Else <john.else@citrix.com>