Added missing newlines.

Signed-off-by: José Miguel Gonçalves <jose.goncalves@inov.pt>
Signed-off-by: Eliad Peller <eliad@wizery.com>
Removed warning: unused variable 'sep'.

Signed-off-by: José Miguel Gonçalves <jose.goncalves@inov.pt>
Signed-off-by: Eliad Peller <eliad@wizery.com>
Arguments to NL callbacks should have static storage.

If not the argument can be overwritten by stack usage.

Signed-off-by: José Miguel Gonçalves <jose.goncalves@inov.pt>
Signed-off-by: Eliad Peller <eliad@wizery.com>
Fix setting and dumping of 16-bit array in NVS files.

Many HW platform will not allow accessing 16-bit values in odd addresses, so you should not access a 16-bit array in a packed structure directly.
Bug detected on a Samsung's S3C2416 based platform.

Signed-off-by: José Miguel Gonçalves <jose.goncalves@inov.pt>
Signed-off-by: Eliad Peller <eliad@wizery.com>