Commit 4e0caa46 authored by Adam Wujek's avatar Adam Wujek

arch-wrs: update files copied from the wr-switch-sw

update:
include/libwr/sfp_lib.h
include/libwr/util.h
shmem.c
util.c
Signed-off-by: Adam Wujek's avatarAdam Wujek <adam.wujek@cern.ch>
parent b5fb56a3
......@@ -216,6 +216,10 @@ void wrs_shm_write_caller(struct wrs_shm_head *head, int flags,
if (flags == WRS_SHM_WRITE_END) {
msg = "write end";
}
/* if pr_debug() is empty, we'd have "unused variable" */
(void) *msg;
pr_debug("caller of a function wrs_shm_write is %s, called for \"%s\" "
"with the flag \"%s\"\n", caller, head->name, msg);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment