ide: do_identify() string termination fix
authorTejun Heo <tj@home-tj.org>
Mon, 5 Nov 2007 20:42:25 +0000 (21:42 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 5 Nov 2007 20:42:25 +0000 (21:42 +0100)
commit699b052ad2996c4ca87aa4b9d4a51dcca0f9e588
treee020540447b1ccb81b409d16e4caa80bc7dd9c76
parentafda5e4da5abf7366ba8ac49e7634b3c85a143ae
ide: do_identify() string termination fix

Terminates id->model string before invoking strstr() in do_identify().

Signed-off-by: Tejun Heo <tj@home-tj.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-probe.c