MIPS: BCM47XX: Make sure NVRAM buffer ends with \0
authorRafał Miłecki <zajec5@gmail.com>
Tue, 12 May 2015 16:46:11 +0000 (18:46 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Sun, 21 Jun 2015 19:52:20 +0000 (21:52 +0200)
commitd28c9a55c297db61018744007b6c86abff308751
tree501dfa0f48954c1b67a6ebb055244180cb753a70
parent2fb7ac5ba680aee0a22bd5cd6fb5c14d248a313d
MIPS: BCM47XX: Make sure NVRAM buffer ends with \0

This will simplify reading its contents.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Cc: linux-mips@linux-mips.org
Cc: Hauke Mehrtens <hauke@hauke-m.de>
Cc: Hante Meuleman <meuleman@broadcom.com>
Cc: Ian Kent <raven@themaw.net>
Patchwork: https://patchwork.linux-mips.org/patch/10031/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/bcm47xx/nvram.c