diff options
| author | Linus Torvalds <torvalds@home.transmeta.com> | 2002-09-02 22:31:20 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-09-02 22:31:20 -0700 |
| commit | 3cb0e7d7811add610dae94b37c4e6facd8f485c6 (patch) | |
| tree | 23c24cc85235f92fd56a5512e996fdd589e7d19c | |
| parent | 9aa8a5b16fa411df76a74722e0b3093db6ed58fe (diff) | |
| parent | cdcb3fbba81a829cd6fa3bc35e34521db84638f2 (diff) | |
Merge http://linux-isdn.bkbits.net/linux-2.5.isdn
into home.transmeta.com:/home/torvalds/v2.5/linux
70 files changed, 33 insertions, 104 deletions
diff --git a/drivers/isdn/act2000/act2000_isa.c b/drivers/isdn/act2000/act2000_isa.c index 136d3a346204..b8893fab3364 100644 --- a/drivers/isdn/act2000/act2000_isa.c +++ b/drivers/isdn/act2000/act2000_isa.c @@ -12,7 +12,6 @@ * */ -#define __NO_VERSION__ #include "act2000.h" #include "act2000_isa.h" #include "capi.h" diff --git a/drivers/isdn/act2000/capi.c b/drivers/isdn/act2000/capi.c index 011d6e18ea85..a20efdd94614 100644 --- a/drivers/isdn/act2000/capi.c +++ b/drivers/isdn/act2000/capi.c @@ -13,7 +13,6 @@ * */ -#define __NO_VERSION__ #include "act2000.h" #include "capi.h" diff --git a/drivers/isdn/divert/divert_procfs.c b/drivers/isdn/divert/divert_procfs.c index a91cbe823e33..d89a94b964cb 100644 --- a/drivers/isdn/divert/divert_procfs.c +++ b/drivers/isdn/divert/divert_procfs.c @@ -10,7 +10,6 @@ */ #include <linux/config.h> -#define __NO_VERSION__ #include <linux/module.h> #include <linux/version.h> #include <linux/poll.h> diff --git a/drivers/isdn/eicon/eicon_idi.c b/drivers/isdn/eicon/eicon_idi.c index 49d494f93d1f..cfa93399deab 100644 --- a/drivers/isdn/eicon/eicon_idi.c +++ b/drivers/isdn/eicon/eicon_idi.c @@ -17,7 +17,6 @@ */ #include <linux/config.h> -#define __NO_VERSION__ #include "eicon.h" #include "eicon_idi.h" #include "eicon_dsp.h" diff --git a/drivers/isdn/eicon/linchr.c b/drivers/isdn/eicon/linchr.c index a2edf3839c77..2d0f71b6aef9 100644 --- a/drivers/isdn/eicon/linchr.c +++ b/drivers/isdn/eicon/linchr.c @@ -8,7 +8,6 @@ * */ -#define __NO_VERSION__ #include <linux/module.h> #include <linux/kernel.h> diff --git a/drivers/isdn/hisax/amd7930.c b/drivers/isdn/hisax/amd7930.c index 4ba74c9e4933..dcc407c5fc14 100644 --- a/drivers/isdn/hisax/amd7930.c +++ b/drivers/isdn/hisax/amd7930.c @@ -90,7 +90,6 @@ * */ -#define __NO_VERSION__ #include "hisax.h" #include "../../sbus/audio/amd7930.h" #include "isac.h" diff --git a/drivers/isdn/hisax/amd7930_fn.c b/drivers/isdn/hisax/amd7930_fn.c index f42331e787c5..eaa497fa8d6f 100644 --- a/drivers/isdn/hisax/amd7930_fn.c +++ b/drivers/isdn/hisax/amd7930_fn.c @@ -53,7 +53,6 @@ */ -#define __NO_VERSION__ #include "hisax.h" #include "isdnl1.h" #include "isac.h" diff --git a/drivers/isdn/hisax/arcofi.c b/drivers/isdn/hisax/arcofi.c index 640ee8378eb0..64934e6a5788 100644 --- a/drivers/isdn/hisax/arcofi.c +++ b/drivers/isdn/hisax/arcofi.c @@ -10,7 +10,6 @@ * */ -#define __NO_VERSION__ #include "hisax.h" #include "isdnl1.h" #include "isac.h" diff --git a/drivers/isdn/hisax/asuscom.c b/drivers/isdn/hisax/asuscom.c index 5f3556dd3a2d..637418d514b8 100644 --- a/drivers/isdn/hisax/asuscom.c +++ b/drivers/isdn/hisax/asuscom.c @@ -12,7 +12,6 @@ * */ -#define __NO_VERSION__ #include <linux/init.h> #include <linux/isapnp.h> #include "hisax.h" diff --git a/drivers/isdn/hisax/avm_a1.c b/drivers/isdn/hisax/avm_a1.c index 2f1b23c72dd3..38a741a888a9 100644 --- a/drivers/isdn/hisax/avm_a1.c +++ b/drivers/isdn/hisax/avm_a1.c @@ -10,7 +10,6 @@ * */ -#define __NO_VERSION__ #include <linux/init.h> #include "hisax.h" #include "isac.h" diff --git a/drivers/isdn/hisax/avm_a1p.c b/drivers/isdn/hisax/avm_a1p.c index fa39db5a9bab..d5d8d07ed24f 100644 --- a/drivers/isdn/hisax/avm_a1p.c +++ b/drivers/isdn/hisax/avm_a1p.c @@ -13,7 +13,6 @@ * */ -#define __NO_VERSION__ #include <linux/init.h> #include "hisax.h" #include "isac.h" diff --git a/drivers/isdn/hisax/avm_pci.c b/drivers/isdn/hisax/avm_pci.c index 8c2187c897ec..c79475b5937b 100644 --- a/drivers/isdn/hisax/avm_pci.c +++ b/drivers/isdn/hisax/avm_pci.c @@ -12,7 +12,6 @@ * */ -#define __NO_VERSION__ #include <linux/config.h> #include <linux/init.h> #include "hisax.h" diff --git a/drivers/isdn/hisax/bkm_a4t.c b/drivers/isdn/hisax/bkm_a4t.c index 7fc219b97f23..31173d211133 100644 --- a/drivers/isdn/hisax/bkm_a4t.c +++ b/drivers/isdn/hisax/bkm_a4t.c @@ -10,8 +10,6 @@ * */ -#define __NO_VERSION__ - #include <linux/config.h> #include <linux/init.h> #include "hisax.h" diff --git a/drivers/isdn/hisax/bkm_a8.c b/drivers/isdn/hisax/bkm_a8.c index 26d1e8e9e6a4..c4d5e8ba2c44 100644 --- a/drivers/isdn/hisax/bkm_a8.c +++ b/drivers/isdn/hisax/bkm_a8.c @@ -10,8 +10,6 @@ * */ -#define __NO_VERSION__ - #include <linux/config.h> #include <linux/init.h> #include "hisax.h" diff --git a/drivers/isdn/hisax/callc.c b/drivers/isdn/hisax/callc.c index 16ad32650cab..565d774e42b2 100644 --- a/drivers/isdn/hisax/callc.c +++ b/drivers/isdn/hisax/callc.c @@ -16,7 +16,6 @@ * */ -#define __NO_VERSION__ #include <linux/module.h> #include <linux/init.h> #include "hisax.h" diff --git a/drivers/isdn/hisax/diva.c b/drivers/isdn/hisax/diva.c index 13381a9d6741..6bebe3feac8f 100644 --- a/drivers/isdn/hisax/diva.c +++ b/drivers/isdn/hisax/diva.c @@ -15,7 +15,6 @@ * */ -#define __NO_VERSION__ #include <linux/init.h> #include <linux/config.h> #include "hisax.h" diff --git a/drivers/isdn/hisax/elsa.c b/drivers/isdn/hisax/elsa.c index df5715a57243..460b183b3af6 100644 --- a/drivers/isdn/hisax/elsa.c +++ b/drivers/isdn/hisax/elsa.c @@ -18,7 +18,6 @@ * */ -#define __NO_VERSION__ #include <linux/init.h> #include <linux/config.h> #include "hisax.h" diff --git a/drivers/isdn/hisax/enternow_pci.c b/drivers/isdn/hisax/enternow_pci.c index a4a93db73bb9..c6c486c93612 100644 --- a/drivers/isdn/hisax/enternow_pci.c +++ b/drivers/isdn/hisax/enternow_pci.c @@ -60,7 +60,6 @@ */ -#define __NO_VERSION__ #include <linux/config.h> #include "hisax.h" #include "isac.h" diff --git a/drivers/isdn/hisax/fsm.c b/drivers/isdn/hisax/fsm.c index 3dde1a6b9c20..3f4e6fef558c 100644 --- a/drivers/isdn/hisax/fsm.c +++ b/drivers/isdn/hisax/fsm.c @@ -14,7 +14,6 @@ * */ -#define __NO_VERSION__ #include <linux/module.h> #include <linux/init.h> #include "hisax.h" diff --git a/drivers/isdn/hisax/gazel.c b/drivers/isdn/hisax/gazel.c index b50c3245ca69..37cce53235dd 100644 --- a/drivers/isdn/hisax/gazel.c +++ b/drivers/isdn/hisax/gazel.c @@ -13,7 +13,6 @@ #include <linux/config.h> #include <linux/init.h> -#define __NO_VERSION__ #include "hisax.h" #include "isac.h" #include "hscx.h" diff --git a/drivers/isdn/hisax/hfc_2bds0.c b/drivers/isdn/hisax/hfc_2bds0.c index 7695a2ccb409..6aa6df7efe6e 100644 --- a/drivers/isdn/hisax/hfc_2bds0.c +++ b/drivers/isdn/hisax/hfc_2bds0.c @@ -10,7 +10,6 @@ * */ -#define __NO_VERSION__ #include <linux/init.h> #include "hisax.h" #include "hfc_2bds0.h" diff --git a/drivers/isdn/hisax/hfc_2bs0.c b/drivers/isdn/hisax/hfc_2bs0.c index 2b7e330bc343..da8d9a48ce30 100644 --- a/drivers/isdn/hisax/hfc_2bs0.c +++ b/drivers/isdn/hisax/hfc_2bs0.c @@ -10,7 +10,6 @@ * */ -#define __NO_VERSION__ #include <linux/init.h> #include "hisax.h" #include "hfc_2bs0.h" diff --git a/drivers/isdn/hisax/hfc_pci.c b/drivers/isdn/hisax/hfc_pci.c index 1f3ad5a05168..1c3cde4e1cfc 100644 --- a/drivers/isdn/hisax/hfc_pci.c +++ b/drivers/isdn/hisax/hfc_pci.c @@ -17,7 +17,6 @@ #include <linux/init.h> #include <linux/config.h> -#define __NO_VERSION__ #include "hisax.h" #include "hfc_pci.h" #include "isdnl1.h" diff --git a/drivers/isdn/hisax/hfc_sx.c b/drivers/isdn/hisax/hfc_sx.c index 628649bea5bd..d9ea9ea9b9ea 100644 --- a/drivers/isdn/hisax/hfc_sx.c +++ b/drivers/isdn/hisax/hfc_sx.c @@ -11,7 +11,6 @@ * */ -#define __NO_VERSION__ #include <linux/init.h> #include "hisax.h" #include "hfc_sx.h" diff --git a/drivers/isdn/hisax/hfcscard.c b/drivers/isdn/hisax/hfcscard.c index 8d2188e9a75a..ed9b26af61c4 100644 --- a/drivers/isdn/hisax/hfcscard.c +++ b/drivers/isdn/hisax/hfcscard.c @@ -10,7 +10,6 @@ * */ -#define __NO_VERSION__ #include <linux/init.h> #include <linux/isapnp.h> #include "hisax.h" diff --git a/drivers/isdn/hisax/hisax_hfcpci.c b/drivers/isdn/hisax/hisax_hfcpci.c index 75602141710e..3cdd98eda702 100644 --- a/drivers/isdn/hisax/hisax_hfcpci.c +++ b/drivers/isdn/hisax/hisax_hfcpci.c @@ -46,7 +46,7 @@ MODULE_DESCRIPTION("HFC PCI ISDN driver"); .subdevice = PCI_ANY_ID, \ .class = 0, \ .class_mask = 0, \ - driver_data: (unsigned long) name } + .driver_data = (unsigned long) name } static struct pci_device_id hfcpci_ids[] __devinitdata = { ID(CCD, CCD_2BD0, "CCD/Billion/Asuscom 2BD0"), diff --git a/drivers/isdn/hisax/hscx.c b/drivers/isdn/hisax/hscx.c index b5cb8e3c9ad4..0022d4635abf 100644 --- a/drivers/isdn/hisax/hscx.c +++ b/drivers/isdn/hisax/hscx.c @@ -10,7 +10,6 @@ * */ -#define __NO_VERSION__ #include <linux/init.h> #include "hisax.h" #include "hscx.h" diff --git a/drivers/isdn/hisax/icc.c b/drivers/isdn/hisax/icc.c index e6d655574a49..e5578ea42c6b 100644 --- a/drivers/isdn/hisax/icc.c +++ b/drivers/isdn/hisax/icc.c @@ -14,7 +14,6 @@ * */ -#define __NO_VERSION__ #include <linux/init.h> #include "hisax.h" #include "icc.h" diff --git a/drivers/isdn/hisax/ipacx.c b/drivers/isdn/hisax/ipacx.c index b9fb57269b27..360e98cda54f 100644 --- a/drivers/isdn/hisax/ipacx.c +++ b/drivers/isdn/hisax/ipacx.c @@ -9,7 +9,6 @@ * of the GNU General Public License, incorporated herein by reference. * */ -#define __NO_VERSION__ #include <linux/kernel.h> #include <linux/config.h> #include <linux/init.h> diff --git a/drivers/isdn/hisax/isac.c b/drivers/isdn/hisax/isac.c index 3d6b67428bb9..28d36fa27086 100644 --- a/drivers/isdn/hisax/isac.c +++ b/drivers/isdn/hisax/isac.c @@ -13,7 +13,6 @@ * */ -#define __NO_VERSION__ #include "hisax.h" #include "isac.h" #include "arcofi.h" diff --git a/drivers/isdn/hisax/isar.c b/drivers/isdn/hisax/isar.c index 322184c790c9..fa2db36de37a 100644 --- a/drivers/isdn/hisax/isar.c +++ b/drivers/isdn/hisax/isar.c @@ -8,7 +8,6 @@ * */ -#define __NO_VERSION__ #include <linux/init.h> #include "hisax.h" #include "isar.h" diff --git a/drivers/isdn/hisax/isdnl1.c b/drivers/isdn/hisax/isdnl1.c index a191be34b897..02f8681e821f 100644 --- a/drivers/isdn/hisax/isdnl1.c +++ b/drivers/isdn/hisax/isdnl1.c @@ -20,7 +20,6 @@ const char *l1_revision = "$Revision: 2.41.6.5 $"; -#define __NO_VERSION__ #include <linux/init.h> #include "hisax.h" #include "isdnl1.h" diff --git a/drivers/isdn/hisax/isdnl2.c b/drivers/isdn/hisax/isdnl2.c index fb593d1f5698..87ead71602b7 100644 --- a/drivers/isdn/hisax/isdnl2.c +++ b/drivers/isdn/hisax/isdnl2.c @@ -15,7 +15,6 @@ * */ -#define __NO_VERSION__ #include <linux/init.h> #include "hisax.h" #include "isdnl2.h" diff --git a/drivers/isdn/hisax/isdnl3.c b/drivers/isdn/hisax/isdnl3.c index 4eccc8380612..3d4181c6e5f1 100644 --- a/drivers/isdn/hisax/isdnl3.c +++ b/drivers/isdn/hisax/isdnl3.c @@ -15,7 +15,6 @@ * */ -#define __NO_VERSION__ #include <linux/init.h> #include "hisax.h" #include "isdnl3.h" diff --git a/drivers/isdn/hisax/isurf.c b/drivers/isdn/hisax/isurf.c index d21505ada04c..7cb12d598cdc 100644 --- a/drivers/isdn/hisax/isurf.c +++ b/drivers/isdn/hisax/isurf.c @@ -10,7 +10,6 @@ * */ -#define __NO_VERSION__ #include <linux/init.h> #include "hisax.h" #include "isac.h" diff --git a/drivers/isdn/hisax/ix1_micro.c b/drivers/isdn/hisax/ix1_micro.c index 5092eba71fe1..314b84f89d9a 100644 --- a/drivers/isdn/hisax/ix1_micro.c +++ b/drivers/isdn/hisax/ix1_micro.c @@ -17,7 +17,6 @@ * Germany */ -#define __NO_VERSION__ #include <linux/init.h> #include <linux/isapnp.h> #include "hisax.h" diff --git a/drivers/isdn/hisax/jade.c b/drivers/isdn/hisax/jade.c index 41b109ea7b5e..09b03e137af5 100644 --- a/drivers/isdn/hisax/jade.c +++ b/drivers/isdn/hisax/jade.c @@ -11,7 +11,6 @@ */ -#define __NO_VERSION__ #include <linux/init.h> #include "hisax.h" #include "hscx.h" diff --git a/drivers/isdn/hisax/l3_1tr6.c b/drivers/isdn/hisax/l3_1tr6.c index 93fb3e94e1a2..c313ceb6ae0c 100644 --- a/drivers/isdn/hisax/l3_1tr6.c +++ b/drivers/isdn/hisax/l3_1tr6.c @@ -13,7 +13,6 @@ * */ -#define __NO_VERSION__ #include "hisax.h" #include "l3_1tr6.h" #include "isdnl3.h" diff --git a/drivers/isdn/hisax/l3dss1.c b/drivers/isdn/hisax/l3dss1.c index 8d84776e7393..c066e544c090 100644 --- a/drivers/isdn/hisax/l3dss1.c +++ b/drivers/isdn/hisax/l3dss1.c @@ -19,7 +19,6 @@ * */ -#define __NO_VERSION__ #include "hisax.h" #include "isdnl3.h" #include "l3dss1.h" diff --git a/drivers/isdn/hisax/l3ni1.c b/drivers/isdn/hisax/l3ni1.c index a1e99dee887c..42fce1c65ab3 100644 --- a/drivers/isdn/hisax/l3ni1.c +++ b/drivers/isdn/hisax/l3ni1.c @@ -18,7 +18,6 @@ * */ -#define __NO_VERSION__ #include "hisax.h" #include "isdnl3.h" #include "l3ni1.h" diff --git a/drivers/isdn/hisax/lmgr.c b/drivers/isdn/hisax/lmgr.c index 855fda5bd7e0..d4f86d654de0 100644 --- a/drivers/isdn/hisax/lmgr.c +++ b/drivers/isdn/hisax/lmgr.c @@ -10,7 +10,6 @@ * */ -#define __NO_VERSION__ #include "hisax.h" static void diff --git a/drivers/isdn/hisax/mic.c b/drivers/isdn/hisax/mic.c index e7e03ebb7bd0..7e58a68138c1 100644 --- a/drivers/isdn/hisax/mic.c +++ b/drivers/isdn/hisax/mic.c @@ -10,7 +10,6 @@ * */ -#define __NO_VERSION__ #include <linux/init.h> #include "hisax.h" #include "isac.h" diff --git a/drivers/isdn/hisax/netjet.c b/drivers/isdn/hisax/netjet.c index 6390ee2e7861..e48193cf55c2 100644 --- a/drivers/isdn/hisax/netjet.c +++ b/drivers/isdn/hisax/netjet.c @@ -14,7 +14,6 @@ * */ -#define __NO_VERSION__ #include <linux/init.h> #include "hisax.h" #include "isac.h" diff --git a/drivers/isdn/hisax/niccy.c b/drivers/isdn/hisax/niccy.c index 00e9c9591101..a71c447b3ca2 100644 --- a/drivers/isdn/hisax/niccy.c +++ b/drivers/isdn/hisax/niccy.c @@ -14,7 +14,6 @@ */ -#define __NO_VERSION__ #include <linux/config.h> #include <linux/init.h> #include "hisax.h" diff --git a/drivers/isdn/hisax/nj_s.c b/drivers/isdn/hisax/nj_s.c index 6358c4ab4a9c..3d97c12f34f2 100644 --- a/drivers/isdn/hisax/nj_s.c +++ b/drivers/isdn/hisax/nj_s.c @@ -5,7 +5,6 @@ * */ -#define __NO_VERSION__ #include <linux/config.h> #include <linux/init.h> #include "hisax.h" diff --git a/drivers/isdn/hisax/nj_u.c b/drivers/isdn/hisax/nj_u.c index 8b23e1703beb..0728a860a5cb 100644 --- a/drivers/isdn/hisax/nj_u.c +++ b/drivers/isdn/hisax/nj_u.c @@ -5,7 +5,6 @@ * */ -#define __NO_VERSION__ #include <linux/config.h> #include <linux/init.h> #include "hisax.h" diff --git a/drivers/isdn/hisax/q931.c b/drivers/isdn/hisax/q931.c index 727c1ea0641c..cef1b7db4ba6 100644 --- a/drivers/isdn/hisax/q931.c +++ b/drivers/isdn/hisax/q931.c @@ -17,7 +17,6 @@ */ -#define __NO_VERSION__ #include "hisax.h" #include "l3_1tr6.h" diff --git a/drivers/isdn/hisax/s0box.c b/drivers/isdn/hisax/s0box.c index ee0924241ad9..4a9ea1ab9933 100644 --- a/drivers/isdn/hisax/s0box.c +++ b/drivers/isdn/hisax/s0box.c @@ -10,7 +10,6 @@ * */ -#define __NO_VERSION__ #include <linux/init.h> #include "hisax.h" #include "isac.h" diff --git a/drivers/isdn/hisax/saphir.c b/drivers/isdn/hisax/saphir.c index 1a029e5a6ac0..352392be38d2 100644 --- a/drivers/isdn/hisax/saphir.c +++ b/drivers/isdn/hisax/saphir.c @@ -12,7 +12,6 @@ * */ -#define __NO_VERSION__ #include <linux/init.h> #include "hisax.h" #include "isac.h" diff --git a/drivers/isdn/hisax/sedlbauer.c b/drivers/isdn/hisax/sedlbauer.c index 3d651c30fed0..48e0bbbc4bfe 100644 --- a/drivers/isdn/hisax/sedlbauer.c +++ b/drivers/isdn/hisax/sedlbauer.c @@ -38,7 +38,6 @@ * For example: hisaxctrl <DriverID> 9 ISAR.BIN */ -#define __NO_VERSION__ #include <linux/init.h> #include <linux/config.h> #include "hisax.h" diff --git a/drivers/isdn/hisax/sportster.c b/drivers/isdn/hisax/sportster.c index fcb82e3f561f..b14044b93b7d 100644 --- a/drivers/isdn/hisax/sportster.c +++ b/drivers/isdn/hisax/sportster.c @@ -12,7 +12,6 @@ * * */ -#define __NO_VERSION__ #include <linux/init.h> #include "hisax.h" #include "isac.h" diff --git a/drivers/isdn/hisax/tei.c b/drivers/isdn/hisax/tei.c index 9439ba57fa8c..540bf33b9bdf 100644 --- a/drivers/isdn/hisax/tei.c +++ b/drivers/isdn/hisax/tei.c @@ -15,7 +15,6 @@ * */ -#define __NO_VERSION__ #include "hisax.h" #include "isdnl2.h" #include <linux/init.h> diff --git a/drivers/isdn/hisax/teleint.c b/drivers/isdn/hisax/teleint.c index e3137ed984fa..167850af27f8 100644 --- a/drivers/isdn/hisax/teleint.c +++ b/drivers/isdn/hisax/teleint.c @@ -10,7 +10,6 @@ * */ -#define __NO_VERSION__ #include <linux/init.h> #include "hisax.h" #include "isac.h" diff --git a/drivers/isdn/hisax/teles0.c b/drivers/isdn/hisax/teles0.c index e61abf7e4db5..8dbbdd70baf0 100644 --- a/drivers/isdn/hisax/teles0.c +++ b/drivers/isdn/hisax/teles0.c @@ -15,7 +15,6 @@ * */ -#define __NO_VERSION__ #include <linux/init.h> #include "hisax.h" #include "isdnl1.h" diff --git a/drivers/isdn/hisax/teles3.c b/drivers/isdn/hisax/teles3.c index 35c149d083c2..be444a8c2f88 100644 --- a/drivers/isdn/hisax/teles3.c +++ b/drivers/isdn/hisax/teles3.c @@ -13,7 +13,6 @@ * Beat Doebeli * */ -#define __NO_VERSION__ #include <linux/init.h> #include <linux/isapnp.h> #include "hisax.h" diff --git a/drivers/isdn/hisax/telespci.c b/drivers/isdn/hisax/telespci.c index f37a2702d169..91eb0d9ffa2f 100644 --- a/drivers/isdn/hisax/telespci.c +++ b/drivers/isdn/hisax/telespci.c @@ -12,7 +12,6 @@ * */ -#define __NO_VERSION__ #include <linux/init.h> #include <linux/config.h> #include "hisax.h" diff --git a/drivers/isdn/hisax/w6692.c b/drivers/isdn/hisax/w6692.c index 47909922c4e1..c67153f1cf4f 100644 --- a/drivers/isdn/hisax/w6692.c +++ b/drivers/isdn/hisax/w6692.c @@ -12,7 +12,6 @@ #include <linux/config.h> #include <linux/init.h> -#define __NO_VERSION__ #include "hisax.h" #include "w6692.h" #include "isdnl1.h" diff --git a/drivers/isdn/hysdn/hysdn_net.c b/drivers/isdn/hysdn/hysdn_net.c index 8437a6323922..cb49e9d41c5b 100644 --- a/drivers/isdn/hysdn/hysdn_net.c +++ b/drivers/isdn/hysdn/hysdn_net.c @@ -13,7 +13,6 @@ * */ -#define __NO_VERSION__ #include <linux/module.h> #include <linux/version.h> #include <linux/signal.h> diff --git a/drivers/isdn/hysdn/hysdn_procconf.c b/drivers/isdn/hysdn/hysdn_procconf.c index 6a9eace7852e..2a312dee7743 100644 --- a/drivers/isdn/hysdn/hysdn_procconf.c +++ b/drivers/isdn/hysdn/hysdn_procconf.c @@ -11,7 +11,6 @@ * */ -#define __NO_VERSION__ #include <linux/module.h> #include <linux/version.h> #include <linux/poll.h> diff --git a/drivers/isdn/hysdn/hysdn_proclog.c b/drivers/isdn/hysdn/hysdn_proclog.c index bcb30eec76f7..c9a8b1920833 100644 --- a/drivers/isdn/hysdn/hysdn_proclog.c +++ b/drivers/isdn/hysdn/hysdn_proclog.c @@ -10,7 +10,6 @@ * */ -#define __NO_VERSION__ #include <linux/module.h> #include <linux/version.h> #include <linux/poll.h> diff --git a/drivers/isdn/i4l/isdn_ppp.c b/drivers/isdn/i4l/isdn_ppp.c index 5e073c2f715f..95e67cbb020a 100644 --- a/drivers/isdn/i4l/isdn_ppp.c +++ b/drivers/isdn/i4l/isdn_ppp.c @@ -109,8 +109,8 @@ isdn_ppp_free(isdn_net_local * lp) struct ippp_struct *is; if (lp->ppp_slot < 0 || lp->ppp_slot > ISDN_MAX_CHANNELS) { - printk(KERN_ERR __FUNCTION__": ppp_slot(%d) out of range\n", - lp->ppp_slot); + printk(KERN_ERR "%s: ppp_slot(%d) out of range\n", + __FUNCTION__ , lp->ppp_slot); return 0; } @@ -129,8 +129,8 @@ isdn_ppp_free(isdn_net_local * lp) spin_unlock(&lp->netdev->pb->lock); #endif /* CONFIG_ISDN_MPP */ if (lp->ppp_slot < 0 || lp->ppp_slot > ISDN_MAX_CHANNELS) { - printk(KERN_ERR __FUNCTION__": ppp_slot(%d) now invalid\n", - lp->ppp_slot); + printk(KERN_ERR "%s: ppp_slot(%d) now invalid\n", + __FUNCTION__ , lp->ppp_slot); restore_flags(flags); return 0; } @@ -231,8 +231,8 @@ void isdn_ppp_wakeup_daemon(isdn_net_local * lp) { if (lp->ppp_slot < 0 || lp->ppp_slot >= ISDN_MAX_CHANNELS) { - printk(KERN_ERR __FUNCTION__": ppp_slot(%d) out of range\n", - lp->ppp_slot); + printk(KERN_ERR "%s: ppp_slot(%d) out of range\n", + __FUNCTION__, lp->ppp_slot); return; } ippp_table[lp->ppp_slot]->state = IPPP_OPEN | IPPP_CONNECT | IPPP_NOBLOCK; @@ -250,8 +250,8 @@ isdn_ppp_closewait(int slot) struct ippp_struct *is; if (slot < 0 || slot >= ISDN_MAX_CHANNELS) { - printk(KERN_ERR __FUNCTION__": slot(%d) out of range\n", - slot); + printk(KERN_ERR "%s: slot(%d) out of range\n", + __FUNCTION__ , slot); return 0; } is = ippp_table[slot]; @@ -351,7 +351,7 @@ isdn_ppp_release(struct inode *ino, struct file *file) isdn_net_dev *p = is->lp->netdev; if (!p) { - printk(KERN_ERR __FUNCTION__": no lp->netdev\n"); + printk(KERN_ERR "%s: no lp->netdev\n", __FUNCTION__ ); unlock_kernel(); return 0; } @@ -706,7 +706,7 @@ isdn_ppp_fill_rq(unsigned char *buf, int len, int proto, int slot) * reports, that there is data */ -static int +static ssize_t isdn_ppp_read(struct file *file, char *buf, size_t count, loff_t *off) { struct ippp_struct *is; @@ -765,7 +765,7 @@ isdn_ppp_read(struct file *file, char *buf, size_t count, loff_t *off) * ipppd wanna write a packet to the card .. non-blocking */ -static int +static ssize_t isdn_ppp_write(struct file *file, const char *buf, size_t count, loff_t *off) { isdn_net_local *lp; @@ -1079,8 +1079,8 @@ isdn_ppp_push_higher(isdn_net_dev * net_dev, isdn_net_local * lp, struct sk_buff if (is->debug & 0x20) printk(KERN_DEBUG "isdn_ppp: VJC_UNCOMP\n"); if (net_dev->local.ppp_slot < 0) { - printk(KERN_ERR __FUNCTION__": net_dev->local->ppp_slot(%d) out of range\n", - net_dev->local.ppp_slot); + printk(KERN_ERR "%s: net_dev->local->ppp_slot(%d) out of range\n", + __FUNCTION__ , net_dev->local.ppp_slot); goto drop_packet; } if (slhc_remember(ippp_table[net_dev->local.ppp_slot]->slcomp, skb->data, skb->len) <= 0) { @@ -1105,8 +1105,8 @@ isdn_ppp_push_higher(isdn_net_dev * net_dev, isdn_net_local * lp, struct sk_buff skb_put(skb, skb_old->len + 128); memcpy(skb->data, skb_old->data, skb_old->len); if (net_dev->local.ppp_slot < 0) { - printk(KERN_ERR __FUNCTION__": net_dev->local->ppp_slot(%d) out of range\n", - net_dev->local.ppp_slot); + printk(KERN_ERR "%s: net_dev->local->ppp_slot(%d) out of range\n", + __FUNCTION__ , net_dev->local.ppp_slot); goto drop_packet; } pkt_len = slhc_uncompress(ippp_table[net_dev->local.ppp_slot]->slcomp, @@ -1442,8 +1442,8 @@ static int isdn_ppp_mp_init( isdn_net_local * lp, ippp_bundle * add_to ) struct ippp_struct * is; if (lp->ppp_slot < 0) { - printk(KERN_ERR __FUNCTION__": lp->ppp_slot(%d) out of range\n", - lp->ppp_slot); + printk(KERN_ERR "%s: lp->ppp_slot(%d) out of range\n", + __FUNCTION__ , lp->ppp_slot); return(-EINVAL); } @@ -1493,8 +1493,8 @@ static void isdn_ppp_mp_receive(isdn_net_dev * net_dev, isdn_net_local * lp, stats = &mp->stats; slot = lp->ppp_slot; if (slot < 0 || slot > ISDN_MAX_CHANNELS) { - printk(KERN_ERR __FUNCTION__": lp->ppp_slot(%d)\n", - lp->ppp_slot); + printk(KERN_ERR "%s: lp->ppp_slot(%d)\n", + __FUNCTION__, lp->ppp_slot); stats->frame_drops++; dev_kfree_skb(skb); spin_unlock_irqrestore(&mp->lock, flags); @@ -1530,8 +1530,8 @@ static void isdn_ppp_mp_receive(isdn_net_dev * net_dev, isdn_net_local * lp, for (lpq = net_dev->queue;;) { slot = lpq->ppp_slot; if (slot < 0 || slot > ISDN_MAX_CHANNELS) { - printk(KERN_ERR __FUNCTION__": lpq->ppp_slot(%d)\n", - lpq->ppp_slot); + printk(KERN_ERR "%s: lpq->ppp_slot(%d)\n", + __FUNCTION__ , lpq->ppp_slot); } else { u32 lls = ippp_table[slot]->last_link_seqno; if (MP_LT(lls, minseq)) @@ -1764,8 +1764,8 @@ void isdn_ppp_mp_reassembly( isdn_net_dev * net_dev, isdn_net_local * lp, unsigned int tot_len; if (lp->ppp_slot < 0 || lp->ppp_slot > ISDN_MAX_CHANNELS) { - printk(KERN_ERR __FUNCTION__": lp->ppp_slot(%d) out of range\n", - lp->ppp_slot); + printk(KERN_ERR "%s: lp->ppp_slot(%d) out of range\n", + __FUNCTION__ , lp->ppp_slot); return; } if( MP_FLAGS(from) == (MP_BEGIN_FRAG | MP_END_FRAG) ) { @@ -2541,8 +2541,8 @@ static void isdn_ppp_receive_ccp(isdn_net_dev *net_dev, isdn_net_local *lp, printk(KERN_DEBUG "Received CCP frame from peer slot(%d)\n", lp->ppp_slot); if (lp->ppp_slot < 0 || lp->ppp_slot > ISDN_MAX_CHANNELS) { - printk(KERN_ERR __FUNCTION__": lp->ppp_slot(%d) out of range\n", - lp->ppp_slot); + printk(KERN_ERR "%s: lp->ppp_slot(%d) out of range\n", + __FUNCTION__ , lp->ppp_slot); return; } is = ippp_table[lp->ppp_slot]; @@ -2551,8 +2551,8 @@ static void isdn_ppp_receive_ccp(isdn_net_dev *net_dev, isdn_net_local *lp, if(lp->master) { int slot = ((isdn_net_local *) (lp->master->priv))->ppp_slot; if (slot < 0 || slot > ISDN_MAX_CHANNELS) { - printk(KERN_ERR __FUNCTION__": slot(%d) out of range\n", - slot); + printk(KERN_ERR "%s: slot(%d) out of range\n", + __FUNCTION__ , slot); return; } mis = ippp_table[slot]; @@ -2715,8 +2715,8 @@ static void isdn_ppp_send_ccp(isdn_net_dev *net_dev, isdn_net_local *lp, struct if(!skb || skb->len < 3) return; if (slot < 0 || slot > ISDN_MAX_CHANNELS) { - printk(KERN_ERR __FUNCTION__": lp->ppp_slot(%d) out of range\n", - slot); + printk(KERN_ERR "%s: lp->ppp_slot(%d) out of range\n", + __FUNCTION__ , slot); return; } is = ippp_table[slot]; @@ -2738,8 +2738,8 @@ static void isdn_ppp_send_ccp(isdn_net_dev *net_dev, isdn_net_local *lp, struct if (lp->master) { slot = ((isdn_net_local *) (lp->master->priv))->ppp_slot; if (slot < 0 || slot > ISDN_MAX_CHANNELS) { - printk(KERN_ERR __FUNCTION__": slot(%d) out of range\n", - slot); + printk(KERN_ERR "%s: slot(%d) out of range\n", + __FUNCTION__ , slot); return; } mis = ippp_table[slot]; diff --git a/drivers/isdn/pcbit/drv.c b/drivers/isdn/pcbit/drv.c index 4bf81515e9e2..617f953a3944 100644 --- a/drivers/isdn/pcbit/drv.c +++ b/drivers/isdn/pcbit/drv.c @@ -17,8 +17,6 @@ * */ -#define __NO_VERSION__ - #include <linux/module.h> #include <linux/sched.h> @@ -430,7 +428,7 @@ int pcbit_writecmd(const u_char* buf, int len, int user, int driver, int channel switch(dev->l2_state) { case L2_LWMODE: /* check (size <= rdp_size); write buf into board */ - if (len > BANK4 + 1) + if (len < 0 || len > BANK4 + 1 || len > 1024) { printk("pcbit_writecmd: invalid length %d\n", len); return -EINVAL; diff --git a/drivers/isdn/sc/command.c b/drivers/isdn/sc/command.c index 2737fc6c46a6..6f002174f055 100644 --- a/drivers/isdn/sc/command.c +++ b/drivers/isdn/sc/command.c @@ -15,7 +15,6 @@ * +1 (416) 297-6433 Facsimile */ -#define __NO_VERSION__ #include <linux/module.h> #include "includes.h" /* This must be first */ #include "hardware.h" diff --git a/drivers/isdn/sc/event.c b/drivers/isdn/sc/event.c index 6488eb282e6b..56215fb4a7e9 100644 --- a/drivers/isdn/sc/event.c +++ b/drivers/isdn/sc/event.c @@ -15,7 +15,6 @@ * +1 (416) 297-6433 Facsimile */ -#define __NO_VERSION__ #include "includes.h" #include "hardware.h" #include "message.h" diff --git a/drivers/isdn/sc/interrupt.c b/drivers/isdn/sc/interrupt.c index 7e32c5a6880e..6a8541a55b9d 100644 --- a/drivers/isdn/sc/interrupt.c +++ b/drivers/isdn/sc/interrupt.c @@ -15,7 +15,6 @@ * +1 (416) 297-6433 Facsimile */ -#define __NO_VERSION__ #include "includes.h" #include "hardware.h" #include "message.h" diff --git a/drivers/isdn/sc/ioctl.c b/drivers/isdn/sc/ioctl.c index eada77ea096a..222ba3475af7 100644 --- a/drivers/isdn/sc/ioctl.c +++ b/drivers/isdn/sc/ioctl.c @@ -6,7 +6,6 @@ * */ -#define __NO_VERSION__ #include "includes.h" #include "hardware.h" #include "message.h" diff --git a/drivers/isdn/sc/message.c b/drivers/isdn/sc/message.c index 04ceff7d70f5..003d6bd606dd 100644 --- a/drivers/isdn/sc/message.c +++ b/drivers/isdn/sc/message.c @@ -17,7 +17,6 @@ * +1 (416) 297-6433 Facsimile */ -#define __NO_VERSION__ #include "includes.h" #include "hardware.h" #include "message.h" diff --git a/drivers/isdn/sc/packet.c b/drivers/isdn/sc/packet.c index 38644225b2a1..973f387b57df 100644 --- a/drivers/isdn/sc/packet.c +++ b/drivers/isdn/sc/packet.c @@ -15,7 +15,6 @@ * +1 (416) 297-6433 Facsimile */ -#define __NO_VERSION__ #include "includes.h" #include "hardware.h" #include "message.h" diff --git a/drivers/isdn/sc/shmem.c b/drivers/isdn/sc/shmem.c index 94f7730ce858..efa0a8753332 100644 --- a/drivers/isdn/sc/shmem.c +++ b/drivers/isdn/sc/shmem.c @@ -17,7 +17,6 @@ * +1 (416) 297-6433 Facsimile */ -#define __NO_VERSION__ #include "includes.h" /* This must be first */ #include "hardware.h" #include "card.h" diff --git a/drivers/isdn/sc/timer.c b/drivers/isdn/sc/timer.c index e6c649f9dc32..f5f26a6d9450 100644 --- a/drivers/isdn/sc/timer.c +++ b/drivers/isdn/sc/timer.c @@ -15,7 +15,6 @@ * +1 (416) 297-6433 Facsimile */ -#define __NO_VERSION__ #include "includes.h" #include "hardware.h" #include "message.h" |
