commit-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] Debian GNU Hurd packaging branch, master, updated. debian/20120222


From: Samuel Thibault
Subject: [SCM] Debian GNU Hurd packaging branch, master, updated. debian/20120222-1-53-g0858e2c
Date: Sun, 08 Apr 2012 21:08:38 +0000

The following commit has been merged in the master branch:
commit a954514175ac6fc31a7c371b8742c67f420d365f
Author: Samuel Thibault <address@hidden>
Date:   Sat Feb 25 22:09:43 2012 +0000

    Print a message when a firmware is request
    
    to let the user have an idea why the driver does not work.

diff --git a/libdde_linux26/contrib/include/linux/firmware.h 
b/libdde_linux26/include/linux/firmware.h
similarity index 87%
copy from libdde_linux26/contrib/include/linux/firmware.h
copy to libdde_linux26/include/linux/firmware.h
index c8ecf5b..06e7a1c 100644
--- a/libdde_linux26/contrib/include/linux/firmware.h
+++ b/libdde_linux26/include/linux/firmware.h
@@ -44,10 +44,16 @@ int request_firmware_nowait(
 
 void release_firmware(const struct firmware *fw);
 #else
+#ifdef DDE_LINUX
+#include <ddekit/printf.h>
+#endif
 static inline int request_firmware(const struct firmware **fw,
                                   const char *name,
                                   struct device *device)
 {
+#ifdef DDE_LINUX
+       ddekit_printf("firmware %s requested, but not implemented\n", name);
+#endif
        return -EINVAL;
 }
 static inline int request_firmware_nowait(
@@ -55,6 +61,9 @@ static inline int request_firmware_nowait(
        const char *name, struct device *device, void *context,
        void (*cont)(const struct firmware *fw, void *context))
 {
+#ifdef DDE_LINUX
+       ddekit_printf("firmware %s requested, but not implemented\n", name);
+#endif
        return -EINVAL;
 }
 

-- 
Debian GNU Hurd packaging



reply via email to

[Prev in Thread] Current Thread [Next in Thread]