public inbox for io-uring@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH liburing v1] io_uring.h: Use Tab to separate macro define value
@ 2025-05-07 18:00 Haiyue Wang
  2025-05-07 18:20 ` Jens Axboe
  0 siblings, 1 reply; 2+ messages in thread
From: Haiyue Wang @ 2025-05-07 18:00 UTC (permalink / raw)
  To: io-uring; +Cc: Haiyue Wang

A nit patch to fix the Tab style for macro value definition by running:

diff -Nur
	liburing/src/include/liburing/io_uring.h
	linux-uring/include/uapi/linux/io_uring.h

 /* Use hybrid poll in iopoll process */
-#define IORING_SETUP_HYBRID_IOPOLL      (1U << 17)
+#define IORING_SETUP_HYBRID_IOPOLL     (1U << 17)

Signed-off-by: Haiyue Wang <haiyuewa@163.com>
---
 src/include/liburing/io_uring.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/include/liburing/io_uring.h b/src/include/liburing/io_uring.h
index 0baa327..a89d0d1 100644
--- a/src/include/liburing/io_uring.h
+++ b/src/include/liburing/io_uring.h
@@ -202,7 +202,7 @@ enum io_uring_sqe_flags_bit {
 #define IORING_SETUP_NO_SQARRAY		(1U << 16)
 
 /* Use hybrid poll in iopoll process */
-#define IORING_SETUP_HYBRID_IOPOLL      (1U << 17)
+#define IORING_SETUP_HYBRID_IOPOLL	(1U << 17)
 
 enum io_uring_op {
 	IORING_OP_NOP,
-- 
2.49.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH liburing v1] io_uring.h: Use Tab to separate macro define value
  2025-05-07 18:00 [PATCH liburing v1] io_uring.h: Use Tab to separate macro define value Haiyue Wang
@ 2025-05-07 18:20 ` Jens Axboe
  0 siblings, 0 replies; 2+ messages in thread
From: Jens Axboe @ 2025-05-07 18:20 UTC (permalink / raw)
  To: io-uring, Haiyue Wang


On Thu, 08 May 2025 02:00:35 +0800, Haiyue Wang wrote:
> A nit patch to fix the Tab style for macro value definition by running:
> 
> diff -Nur
> 	liburing/src/include/liburing/io_uring.h
> 	linux-uring/include/uapi/linux/io_uring.h
> 
>  /* Use hybrid poll in iopoll process */
> -#define IORING_SETUP_HYBRID_IOPOLL      (1U << 17)
> +#define IORING_SETUP_HYBRID_IOPOLL     (1U << 17)
> 
> [...]

Applied, thanks!

[1/1] io_uring.h: Use Tab to separate macro define value
      commit: cc7a17ecce8b6d692c4d1492d4877161166bc322

Best regards,
-- 
Jens Axboe




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-05-07 18:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-07 18:00 [PATCH liburing v1] io_uring.h: Use Tab to separate macro define value Haiyue Wang
2025-05-07 18:20 ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox