commit | 3bdd2b77656124e3fa7693fbfd7a06f74c38eb87 | [log] [tgz] |
---|---|---|
author | Gerd Hoffmann <kraxel@redhat.com> | Wed Nov 13 10:13:02 2019 +0100 |
committer | Gerd Hoffmann <kraxel@redhat.com> | Wed Nov 13 14:59:39 2019 +0100 |
tree | 98717b18c9b7d4267a9d77e111b8dddfc97a851f | |
parent | 9caa19be0e534c687081fbdfcd301406e728c98c [diff] |
ahci: zero-initialize port struct Specifically port->drive.lchs needs clearing, otherwise seabios will try interpret whatever random crap happens to be there as disk geometry, which may or may not break boot depending on how lucky you are. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Reviewed-by: Laszlo Ersek <lersek@redhat.com>