login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
26
Re: [PATCH] ISDN/capidrv: fix casting warning
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Jeff Garzik
Subject:
Re: [PATCH] ISDN/capidrv: fix casting warning
Date: Thursday, October 25, 2007 - 5:53 pm
Karsten Keil wrote:
quoted text
> On Thu, Oct 25, 2007 at 04:06:16AM -0400, Jeff Garzik wrote: >> drivers/isdn/capi/capidrv.c: In function 'if_sendbuf': >> drivers/isdn/capi/capidrv.c:1865: warning: cast from pointer to integer >> of different size >> >> We are passing a kernel pointer, skb->data, but the interface itself is >> limited to 32 bits. A future changeset may want to mark this code >> 32-bit only, if it turns out cmsg->Data value truncation on 64-bit >> platforms is problematic in practice. >> > > I think I should really add somewhere a comment for this issue. > This field is not used in practice in linux kernel (neither in 32 or > 64 bit), but should have some value, since a CAPI message trace will > display it. > The correct value in the 32 bit case is the address of the > data, in 64 bit it makes no sense, maybe we should use 0 here.
So noted... I will make sure the next revision of the patch fulfills all your wishes :) Jeff -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH] sound/oss/sb_common.c: fix casting warning
, Jeff Garzik
, (Thu Oct 25, 1:06 am)
[PATCH] Permit silencing of __deprecated warnings.
, Jeff Garzik
, (Thu Oct 25, 1:06 am)
[PATCH] Remove #warnings for longstanding conditions.
, Jeff Garzik
, (Thu Oct 25, 1:06 am)
[PATCH] ISDN/capidrv: fix casting warning
, Jeff Garzik
, (Thu Oct 25, 1:06 am)
Re: [PATCH] Permit silencing of __deprecated warnings.
, Andrew Morton
, (Thu Oct 25, 1:15 am)
Re: [PATCH] Permit silencing of __deprecated warnings.
, Jeff Garzik
, (Thu Oct 25, 1:20 am)
Re: [PATCH] ISDN/capidrv: fix casting warning
, Karsten Keil
, (Thu Oct 25, 2:51 am)
Re: [PATCH] Remove #warnings for longstanding conditions.
, Karsten Keil
, (Thu Oct 25, 2:52 am)
Re: [PATCH] Permit silencing of __deprecated warnings.
, Sam Ravnborg
, (Thu Oct 25, 4:02 am)
Re: [PATCH] Remove #warnings for longstanding conditions.
, Matthew Wilcox
, (Thu Oct 25, 4:22 am)
Re: [PATCH] Permit silencing of __deprecated warnings.
, Linus Torvalds
, (Thu Oct 25, 8:34 am)
Re: [PATCH] ISDN/capidrv: fix casting warning
, Jeff Garzik
, (Thu Oct 25, 5:53 pm)
Re: [PATCH] Remove #warnings for longstanding conditions.
, Jeff Garzik
, (Thu Oct 25, 7:07 pm)
Re: [PATCH] Remove #warnings for longstanding conditions.
, Matthew Wilcox
, (Thu Oct 25, 7:14 pm)
Re: [PATCH] Remove #warnings for longstanding conditions.
, Jeff Garzik
, (Thu Oct 25, 7:19 pm)
Re: [PATCH] Permit silencing of __deprecated warnings.
, Arjan van de Ven
, (Thu Oct 25, 8:07 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Kay Sievers
Re: char/tpm: tpm_infineon no longer loaded for HP 2510p laptop
Eric W. Biederman
[PATCH 8/8] sysfs: user namespaces: fix bug with clone(CLONE_NEWUSER) with fairsched
S K
Re: cpufreq doesn't seem to work in Intel Q9300
Bart Van Assche
Re: Is gcc thread-unsafe?
Greg Kroah-Hartman
[PATCH 20/36] Driver core: Call device_pm_add() after bus_add_device() in device_a...
git
:
Junio C Hamano
Re: git-svnimport
Junio C Hamano
Re: [PATCH] git-mv: Keep moved index entries inact
Johannes Schindelin
Re: [PATCH] Fix approxidate("never") to always return 0
A Large Angry SCM
Re: [RFC] origin link for cherry-pick and revert
Gabriel
[PATCH] When a remote is added but not fetched, tell the user.
linux-netdev
:
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Ingo Molnar
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
Eric W. Biederman
[PATCH 14/20] net: Simplify pppol2tp pernet operations.
Jeff Kirsher
[net-2.6 PATCH 2/5] e1000e: increase swflag acquisition timeout for ICHx/PCH
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
sm501: add power control callback
Linux Kernel Mailing List
MIPS: Cavium: Remove unused watchdog code.
Linux Kernel Mailing List
V4L/DVB (8976): af9015: Add USB ID for AVerMedia A309
Linux Kernel Mailing List
ARM: 5670/1: bcmring: add default configuration for bcmring arch
openbsd-misc
:
daniele.pilenga
snmpd hangs on 4.1 looking up hrSWRunTable
Jason Dixon
Re: any web management gui for pf ?
Christophe Rioux
Implementation example of snmp
Nick Holland
Re: booting openbsd on eee without cd-rom
Bryan Irvine
Re: OpenBSD 4.7 Released, May 19 2010
Colocation donated by:
Syndicate