Commit 096dc883 authored by Federico Vaga's avatar Federico Vaga

replace pr_warning with pr_warn

Signed-off-by: Federico Vaga's avatarfederico.vaga@cern.ch <federico.vaga@cern.ch>
parent 4541b8cd
...@@ -139,13 +139,13 @@ static int __init zio_init(void) ...@@ -139,13 +139,13 @@ static int __init zio_init(void)
err = zio_default_buffer_init(); err = zio_default_buffer_init();
if (err) if (err)
pr_warning("%s: cannot register default buffer\n", __func__); pr_warn("%s: cannot register default buffer\n", __func__);
err = zio_default_trigger_init(); err = zio_default_trigger_init();
if (err) if (err)
pr_warning("%s: cannot register default trigger\n", __func__); pr_warn("%s: cannot register default trigger\n", __func__);
if (zio_sniffdev_init()) if (zio_sniffdev_init())
pr_warning("%s: cannot initialize /dev/zio-sniff.ctrl\n", pr_warn("%s: cannot initialize /dev/zio-sniff.ctrl\n",
__func__); __func__);
pr_info("zio-core had been loaded\n"); pr_info("zio-core had been loaded\n");
return 0; return 0;
......
...@@ -1223,7 +1223,7 @@ static int zobj_unique_name(struct zio_object_list *zobj_list, const char *name) ...@@ -1223,7 +1223,7 @@ static int zobj_unique_name(struct zio_object_list *zobj_list, const char *name)
return -EINVAL; return -EINVAL;
} }
if (strlen(name) > ZIO_OBJ_NAME_LEN) if (strlen(name) > ZIO_OBJ_NAME_LEN)
pr_warning("ZIO: name too long, cut to %d characters\n", pr_warn("ZIO: name too long, cut to %d characters\n",
ZIO_OBJ_NAME_LEN); ZIO_OBJ_NAME_LEN);
pr_debug("%s\n", __func__); pr_debug("%s\n", __func__);
......
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