This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:

Subject: test-media: postpone the dmesg command
Author:  Hans Verkuil <hverkuil-ci...@xs4all.nl>
Date:    Wed Mar 25 11:40:57 2020 +0100

Make sure test-media is called as root before running dmesg since
this may require root permissions.

Signed-off-by: Hans Verkuil <hverkuil-ci...@xs4all.nl>

 contrib/test/test-media | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=e0d08d6958cfc8d2fbe3fcd482861de93dba8030
diff --git a/contrib/test/test-media b/contrib/test/test-media
index ccd9fb8466a0..80da382b6663 100755
--- a/contrib/test/test-media
+++ b/contrib/test/test-media
@@ -38,7 +38,6 @@ if [ $kobj_rel -eq 1 ]; then
 fi
 
 cur_lvl=`cut -c 1-2 /proc/sys/kernel/printk`
-dmesg -n notice
 
 if [ -z "$1" ]; then
        echo "usage: test-media [options] test-targets"
@@ -67,6 +66,8 @@ if [ `id -u` -ne 0 ]; then
        exit -1
 fi
 
+dmesg -n notice
+
 while [ ! -z "$1" ]; do
        case "$1" in
        -unload)

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to