Re: [RFC v3 1/4] kernel/api: introduce kernel API specification framework

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

 



On Wed, Jul 16, 2025 at 10:21:41AM +0300, Askar Safin wrote:
+   KAPI_PARAM_IN       = (1 << 0),
+   KAPI_PARAM_OUT      = (1 << 1),
+   KAPI_PARAM_INOUT    = (1 << 2),

There is no need for KAPI_PARAM_INOUT. It could be replaced by KAPI_PARAM_IN | KAPI_PARAM_OUT

It could, but it's easier to write _INOUT :)

--
Thanks,
Sasha




[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux