Thread (6 messages) 6 messages, 3 authors, 2021-07-05

Re: [PATCH v13] i2c: virtio: add a virtio i2c frontend driver

From: Andy Shevchenko <hidden>
Date: 2021-07-05 09:38:46
Also in: linux-i2c, lkml

On Mon, Jul 5, 2021 at 11:56 AM Viresh Kumar [off-list ref] wrote:
On 05-07-21, 11:45, Andy Shevchenko wrote:
quoted
On Mon, Jul 5, 2021 at 11:03 AM Viresh Kumar [off-list ref] wrote:
quoted
On 05-07-21, 14:53, Jie Deng wrote:
quoted
quoted
+#include <linux/types.h>
+#include <linux/const.h>
Both of these need to be the uapi headers as Andy said earlier
They are already since this header _is_ UAPI,
Ahh, there is some tricky header inclusion there :)
quoted
what you are suggesting is gonna not work,
Why ?
Because we do not have "uapi" in the path in /usr/include on the real
system where the linux-headers (or kernel-headers) package is
installed.

It's still possible that our installation hooks will remove that
"uapi" from the headers, but I think it makes things too complicated.
quoted
although it's correct for in-kernel users of UAPI
headers.

-- 
With Best Regards,
Andy Shevchenko
_______________________________________________
Virtualization mailing list
Virtualization@lists.linux-foundation.org
https://lists.linuxfoundation.org/mailman/listinfo/virtualization
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help