commit | 1d72811084cababf820a8539dcf73274e11b55d5 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Tue Apr 25 10:54:50 2023 -0600 |
committer | Tom Rini <trini@konsulko.com> | Thu Apr 27 13:51:07 2023 -0400 |
tree | 99068cf1f1952039d6fd9eca95f105871530cd9d | |
parent | 858ebff2717919eade85e7cc328ea632116f3466 [diff] |
ide: Use a single local blk_desc for ide_ident() We only use one member of the ide_dev_desc[] array at a time and it does not stick around outside ide_probe(). Use a single element instead. Copy over the missing members of blk_desc at the same, since this was missing from the previous code. Signed-off-by: Simon Glass <sjg@chromium.org> Fixes: 68e6f221ed0 ("block: ide: Fix block read/write with driver model")