From c5a9c72d9143af31e1e3453bdc37277168274d53 Mon Sep 17 00:00:00 2001 From: Eric Chan Date: Fri, 3 May 2024 17:59:13 +1000 Subject: [PATCH] Better commenting on libuio driver functions Signed-off-by: Eric Chan --- tools/linux/uio/libuio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/linux/uio/libuio.c b/tools/linux/uio/libuio.c index 578d1db08..a22f07924 100644 --- a/tools/linux/uio/libuio.c +++ b/tools/linux/uio/libuio.c @@ -52,12 +52,12 @@ static int num_maps; */ __attribute__((weak)) int driver_init(void **maps, uintptr_t *maps_phys, int num_maps, int argc, char **argv) { - assert(!"should not be here!"); + assert(!"UIO driver did not implement driver_init"); } __attribute__((weak)) void driver_notified() { - assert(!"should not be here!"); + assert(!"UIO driver did not implement driver_notified"); } void uio_notify()