Skip to content

Commit

Permalink
Better commenting on libuio driver functions
Browse files Browse the repository at this point in the history
Signed-off-by: Eric Chan <[email protected]>
  • Loading branch information
erichchan999 committed May 3, 2024
1 parent c7ac30e commit c5a9c72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/linux/uio/libuio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit c5a9c72

Please sign in to comment.