summaryrefslogtreecommitdiff
path: root/net/irda/timer.c
AgeCommit message (Collapse)Author
2015-05-25irda: use msecs_to_jiffies for conversion to jiffiesNicholas Mc Guire
API compliance scanning with coccinelle flagged: ./net/irda/timer.c:63:35-37: use of msecs_to_jiffies probably perferable Converting milliseconds to jiffies by "val * HZ / 1000" technically is not a clean solution as it does not handle all corner cases correctly. By changing the conversion to use msecs_to_jiffies(val) conversion is correct in all cases. Further the () around the arithmetic expression was dropped. Patch was compile tested for x86_64_defconfig + CONFIG_IRDA=m Patch is against 4.1-rc4 (localversion-next is -next-20150522) Signed-off-by: Nicholas Mc Guire <hofrat@osadl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
2013-01-03treewide: Replace incomming with incoming in all comments and stringsJorrit Schippers
Signed-off-by: Jorrit Schippers <jorrit@ncode.nl> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2012-03-28Remove all #inclusions of asm/system.hDavid Howells
Remove all #inclusions of asm/system.h preparatory to splitting and killing it. Performed with the following command: perl -p -i -e 's!^#\s*include\s*<asm/system[.]h>.*\n!!' `grep -Irl '^#\s*include\s*<asm/system[.]h>' *` Signed-off-by: David Howells <dhowells@redhat.com>
2011-03-31Fix common misspellingsLucas De Marchi
Fixes generated by 'codespell' and manually reviewed. Signed-off-by: Lucas De Marchi <lucas.demarchi@profusion.mobi>
2008-12-10net: Make staticRoel Kluin
Sparse asked whether these could be static. Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2007-10-19more UTF-8 conversionsMarcin Garski
Signed-off-by: Adrian Bunk <bunk@kernel.org>
2007-02-10[NET] IRDA: Fix whitespace errors.YOSHIFUJI Hideaki
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
2006-06-30Remove obsolete #include <linux/config.h>Jörn Engel
Signed-off-by: Jörn Engel <joern@wohnheim.fh-wedel.de> Signed-off-by: Adrian Bunk <bunk@stusta.de>
2005-03-22[IRDA]: DEBUG macro fixesJean Tourrilhes
o [CRITICA] Eliminate all 'ASSERT(..., break;)' -> use goto; That would compile differenty with/without CONFIG_IRDA_DEBUG o [CORRECT] Add '()' to IRDA_DEBUG macro to avoid side effects o [CORRECT] Add 'do {} while(0)' to IRDA_ASSERT to avoid side effects o [FEATURE] Rename ASSERT to IRDA_ASSERT (namespace pollution) o [FEATURE] Rename MESSAGE to IRDA_MESSAGE (namespace pollution) o [FEATURE] Rename ERROR to IRDA_ERROR (namespace pollution) o [FEATURE] Disable IRDA_ASSERT when no CONFIG_IRDA_DEBUG -> footprint Signed-off-by: Jean Tourrilhes <jt@hpl.hp.com> Signed-off-by: David S. Miller <davem@davemloft.net>'
2004-10-21[IRDA]: Adaptive discovery query timerJean Tourrilhes
o [FEATURE] Adapt to the rate of the peer discovery (passive discovery) o [FEATURE] Add extra safety margin in passive discovery Allow to interoperate properly with device performing slow discovery Signed-off-by: Jean Tourrilhes <jt@hpl.hp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
2004-03-08[IRDA]: Make irda_start_timer inline rather than exporting.Stephen Hemminger
2003-09-05[irda] irtty cleanupJean Tourrilhes
o [FEATURE] Finish removing traces of old irtty driver
2003-03-28[PATCH] : IrDA timer fixJean Tourrilhes
o [FEATURE] Make IrDA timers use mod_timer instead of add+del_timer
2002-06-18IrDA update 2/2: big header and initcall cleanupJean Tourrilhes
o [FEATURE] Use new kernel init/exit style, should fix static builds o [FEATURE] Reduce header dependancies Before After net/irda/.depend 14917 13617 B drivers/net/irda/.depend 16134 14293 B irda full recompile 3'13 3'10
2002-02-04v2.4.14.1 -> v2.4.14.2Linus Torvalds
- Ivan Kokshaysky: fix alpha dec_and_lock with modules, for alpha config entry - Kai Germaschewski: ISDN updates - Jeff Garzik: network driver updates, sysv fs update - Kai Mäkisara: SCSI tape update - Alan Cox: large drivers merge - Nikita Danilov: reiserfs procfs information - Andrew Morton: ext3 merge - Christoph Hellwig: vxfs livelock fix - Trond Myklebust: NFS updates - Jens Axboe: cpqarray + cciss dequeue fix - Tim Waugh: parport_serial base_baud setting - Matthew Dharm: usb-storage Freecom driver fixes - Dave McCracken: wait4() thread group race fix
2002-02-04Import changesetLinus Torvalds