[Top][All Lists]

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

Re: [PATCH v3] pkl: Remove global state from IOS

From: Mohammad-Reza Nabipoor
Subject: Re: [PATCH v3] pkl: Remove global state from IOS
Date: Fri, 24 Dec 2021 15:13:08 +0330

On Fri, Dec 24, 2021 at 03:08:27PM +0330, Mohammad-Reza Nabipoor wrote:

> Yes, I don't like it either! But because of `data` pointers (which are
> specific to instances of `libpoke`), we have to.
> Do you have any better idea?
> (I thought about removing `data` from the `struct ios_dev_if`, and keep it
> separate, but this means `struct pk_iod_if` and `struct ios_dev_if` will not
> share the same physical layout).

And we use `data` field, only for `sub` IOD.
What about keeping that only iod_if in the `ios_context`?

reply via email to

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