]> xenbits.xensource.com Git - unikraft/unikraft.git/commitdiff
lib/devfs: Reorder includes + fix typo
authorMarc Rittinghaus <marc.rittinghaus@unikraft.io>
Thu, 20 Apr 2023 15:08:47 +0000 (17:08 +0200)
committerUnikraft <monkey@unikraft.io>
Tue, 2 May 2023 20:36:20 +0000 (20:36 +0000)
Standard headers and uk headers should not be mixed.

Signed-off-by: Marc Rittinghaus <marc.rittinghaus@unikraft.io>
Reviewed-by: Razvan Deaconescu <razvand@unikraft.io>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
Tested-by: Unikraft CI <monkey@unikraft.io>
GitHub-Closes: #855

lib/devfs/device.c

index cefd11ec53cd7297525a1f239f1b8fd1ace6b431..53d8b557b8290533cb7ff7c953e253d862c3238a 100644 (file)
 #include <stdio.h>
 #include <unistd.h>
 #include <errno.h>
-#include <uk/assert.h>
 #include <string.h>
 
 #include <vfscore/prex.h>
 #include <vfscore/uio.h>
 #include <uk/essentials.h>
 #include <uk/mutex.h>
+#include <uk/assert.h>
 
 #include <devfs/device.h>
 
 static struct uk_mutex devfs_lock = UK_MUTEX_INITIALIZER(devfs_lock);
 
-/* list head of the devices */
+/* List head of the devices */
 static struct device *device_list;
 
 /*