]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide-floppy: zero out the whole struct ide_atapi_pc on init
authorBorislav Petkov <petkovbb@googlemail.com>
Wed, 16 Jul 2008 18:33:47 +0000 (20:33 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Wed, 16 Jul 2008 18:33:47 +0000 (20:33 +0200)
commit68dc3575e064a5655cbd656fbf32d6ceeb85ac9e
treebd623c5102365bd1169244e3d514ca3f9260fdb5
parentc96a7df8dba5800c03b0f1edd87b2f3d0473a119
ide-floppy: zero out the whole struct ide_atapi_pc on init

This is a precaution just to make sure a new pc is clean when allocated.

There should be no functional change introduced by this patch.

[bart: ported it over IDE changes]

Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-floppy.c