[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: does drive_get_next(IF_NONE) make sense?

From: Thomas Huth
Subject: Re: does drive_get_next(IF_NONE) make sense?
Date: Wed, 3 Nov 2021 10:19:26 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0

On 03/11/2021 09.41, Markus Armbruster wrote:
Peter Maydell <peter.maydell@linaro.org> writes:

Does it make sense for a device/board to do drive_get_next(IF_NONE) ?

Short answer: hell, no!  ;)

Would it make sense to add an "assert(type != IF_NONE)" to drive_get() to avoid such mistakes in the future?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]