dbg: add db_incorect_format
authorOleksij Rempel <linux@rempel-privat.de>
Tue, 23 Apr 2013 17:13:31 +0000 (19:13 +0200)
committerOleksij Rempel <linux@rempel-privat.de>
Tue, 23 Apr 2013 17:13:31 +0000 (19:13 +0200)
Replace duplicated code with db_incorect_format function.

ram usage before patch:
>info ram
ALLOCRAM Current Addr 0x5352bc
ALLOCRAM Remaining Bytes 42308

after patch:
>info ram
ALLOCRAM Current Addr 0x535234
ALLOCRAM Remaining Bytes 42444

Signed-off-by: Oleksij Rempel <linux@rempel-privat.de>

No differences found