drm/nouveau/bios: fix DCB v1.5 parsing
authorMarcin Slusarz <marcin.slusarz@gmail.com>
Sat, 17 Nov 2012 20:33:15 +0000 (21:33 +0100)
committerBen Skeggs <bskeggs@redhat.com>
Sun, 18 Nov 2012 22:54:20 +0000 (08:54 +1000)
memcmp->nv_strncmp conversion, in addition to name change, should have
inverted the return value.

But nv_strncmp does not act like strncmp - it does not check for string
terminator, returns true/false instead of -1/0/1 and has different
parameters order.

Let's rename it to nv_memcmp and let it act like memcmp.

Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>

No differences found