From e4459ddbe6b9423710208d0b086cd7a491aa0f55 Mon Sep 17 00:00:00 2001
From: Wenkai Lin <linwenkai6@hisilicon.com>
Date: Sat, 23 Jul 2022 16:50:27 +0800
Subject: [PATCH 160/183] uadk: v1: fix include file order

Includes are not sorted properly. Order-ref: standard library headers,
OS library headers, and project-specific headers.

Signed-off-by: Wenkai Lin <linwenkai6@hisilicon.com>
---
 v1/drv/dummy_drv.c | 2 +-
 v1/wd_aead.c       | 2 +-
 v1/wd_dh.c         | 2 +-
 v1/wd_digest.c     | 2 +-
 v1/wd_ecc.c        | 2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/v1/drv/dummy_drv.c b/v1/drv/dummy_drv.c
index f551b79..b1c1968 100644
--- a/v1/drv/dummy_drv.c
+++ b/v1/drv/dummy_drv.c
@@ -18,9 +18,9 @@
 #include <stdlib.h>
 #include <unistd.h>
 #include <assert.h>
-#include <linux/types.h>
 #include <sys/mman.h>
 #include <sys/ioctl.h>
+#include <linux/types.h>
 
 #include "v1/wd_util.h"
 #include "dummy_drv.h"
diff --git a/v1/wd_aead.c b/v1/wd_aead.c
index 4028895..ab1250a 100644
--- a/v1/wd_aead.c
+++ b/v1/wd_aead.c
@@ -23,8 +23,8 @@
 #include <sys/mman.h>
 
 #include "wd.h"
-#include "wd_aead.h"
 #include "wd_util.h"
+#include "wd_aead.h"
 
 #define MAX_AEAD_KEY_SIZE		64
 #define MAX_AEAD_MAC_SIZE		64
diff --git a/v1/wd_dh.c b/v1/wd_dh.c
index 1164f2c..25483c1 100644
--- a/v1/wd_dh.c
+++ b/v1/wd_dh.c
@@ -23,8 +23,8 @@
 #include <sys/mman.h>
 
 #include "wd.h"
-#include "wd_dh.h"
 #include "wd_util.h"
+#include "wd_dh.h"
 
 #define WD_DH_G2		2
 #define DH_BALANCE_THRHD		1280
diff --git a/v1/wd_digest.c b/v1/wd_digest.c
index 557ad18..7b01b14 100644
--- a/v1/wd_digest.c
+++ b/v1/wd_digest.c
@@ -23,8 +23,8 @@
 #include <sys/mman.h>
 
 #include "wd.h"
-#include "wd_digest.h"
 #include "wd_util.h"
+#include "wd_digest.h"
 
 #define MAX_HMAC_KEY_SIZE	128
 #define MAX_DIGEST_RETRY_CNT	20000000
diff --git a/v1/wd_ecc.c b/v1/wd_ecc.c
index 4f9ec53..d3f6694 100644
--- a/v1/wd_ecc.c
+++ b/v1/wd_ecc.c
@@ -23,9 +23,9 @@
 #include <sys/mman.h>
 
 #include "wd.h"
+#include "wd_util.h"
 #include "internal/wd_ecc_curve.h"
 #include "wd_ecc.h"
-#include "wd_util.h"
 
 #define ECC_BALANCE_THRHD		1280
 #define ECC_RECV_MAX_CNT		60000000
-- 
2.27.0

