: 2.5.53 missing "include <linux/version.h>"

: 2.5.53 missing "include <linux/version.h>"

Post by Patrick McHard » Wed, 25 Dec 2002 16:20:08



Hi Jean,

the attached patch adds missing include <linux/version.h> to
include/net/irda/vlsi_ir.h. If its already fixed, my apologies,
otherwise please apply.

Bye,
Patrick

  linux-2.5.53-irda-vlsi-fir-h.diff
< 1K Download
 
 
 

1. PATCH: module.h - silence "statement with no effect" warnings 2.5.53-bk

2.5.53-bk complains about "statement with no effect" in module.h in
multiple files including module.h. This patch shuts it up.

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#                  ChangeSet    1.973   -> 1.974  
#       include/linux/module.h  1.32    -> 1.33  
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------

# get rid of "statement has no effect" warnings from gcc
# --------------------------------------------
#
diff -Nru a/include/linux/module.h b/include/linux/module.h
--- a/include/linux/module.h    Mon Dec 30 14:10:56 2002

        /*
         * Yes, we ignore the retval here, that's why it's deprecated.
         */
-       try_module_get(module);
+       (void)try_module_get(module);
 }


        local_inc(&module->ref[get_cpu()].count);
        put_cpu();
 #else
-       try_module_get(module);
+       (void)try_module_get(module);
 #endif
 }
 #define MOD_INC_USE_COUNT \

--
Muli Ben-Yehuda
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. Dvorak on linux-ppc?

3. #include <asm/bitops.h> -> #include <linux/bitops.h>

4. a few basic questions

5. 1.3.98: <linux/if_arp.h> needs to include <linux/netdevice.h>

6. Euro need to be printed with PS in AIX

7. Include <linux/stddef.h> in <linux/list.h>

8. IP forwarding problem with V4.0

9. Kernel include files <sys/socket.h> and <linux/in.h>

10. "difference between "xxx.h" and <xxx.h> ????"

11. include files <sys/ipc.h> and <sys/shm.h>

12. linux 2.5.71: net/core/flow.c missing #include <linux/cpu.h>

13. linux 2.5.53 not compiling