Stefan Hajnoczi
2021-Mar-23 12:43 UTC
[RFC PATCH v2] virtio-vsock: use C style defines for constants
On Tue, Mar 23, 2021 at 12:04:44PM +0300, Arseny Krasnov wrote:> This: > 1) Replaces enums with C style defines.Why? Please include the rationale for this change in the commit description.> @@ -227,6 +226,11 @@ \subsubsection{Stream Sockets}\label{sec:Device Types / Socket Device / Device O > hints are permanent once sent and successive packets with bits clear do not > reset them. > > +\begin{lstlisting} > +#define VIRTIO_VSOCK_SHUTDOWN_RECEIVE_BIT 0 > +#define VIRTIO_VSOCK_SHUTDOWN_SEND_BIT 1 > +\end{lstlisting}Please reference these constants in the text. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: not available URL: <http://lists.linuxfoundation.org/pipermail/virtualization/attachments/20210323/899f0808/attachment.sig>