login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
October
»
26
Re: [PATCH 01/31] Add an ERR_CAST() macro to complement ERR_PTR and co. [try #5]
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Zach Brown
Subject:
Re: [PATCH 01/31] Add an ERR_CAST() macro to complement ERR_PTR and co. [try #5]
Date: Thursday, October 25, 2007 - 5:20 pm
Roland Dreier wrote:
quoted text
> > > +static inline void *ERR_CAST(const void *ptr) > > > +{ > > > + return (void *) ptr; > > > +} > > > > Just to nit, surely you don't need the cast inside the function. The > > casting happens at the call site between the argument and returned pointer. > > The way it's written you kinda do, since it takes a const void * and > returns a plain void *.
Ah, right, I missed that. - z -
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 00/31] Remove iget() and read_inode() [try #5]
, David Howells
, (Thu Oct 25, 9:33 am)
[PATCH 01/31] Add an ERR_CAST() macro to complement ERR_PT ...
, David Howells
, (Thu Oct 25, 9:33 am)
[PATCH 02/31] Convert ERR_PTR(PTR_ERR(p)) instances to ERR ...
, David Howells
, (Thu Oct 25, 9:34 am)
[PATCH 03/31] IGET: Introduce a function to register iget ...
, David Howells
, (Thu Oct 25, 9:34 am)
[PATCH 04/31] IGET: Use iget_failed() in AFS [try #5]
, David Howells
, (Thu Oct 25, 9:34 am)
[PATCH 05/31] IGET: Use iget_failed() in GFS2 [try #5]
, David Howells
, (Thu Oct 25, 9:34 am)
[PATCH 06/31] IGET: Stop AFFS from using iget() and read_i ...
, David Howells
, (Thu Oct 25, 9:34 am)
[PATCH 07/31] IGET: Stop autofs from using iget() and read ...
, David Howells
, (Thu Oct 25, 9:34 am)
[PATCH 08/31] IGET: Stop BEFS from using iget() and read_i ...
, David Howells
, (Thu Oct 25, 9:34 am)
[PATCH 09/31] IGET: Stop BFS from using iget() and read_in ...
, David Howells
, (Thu Oct 25, 9:34 am)
[PATCH 10/31] IGET: Stop CIFS from using iget() and read_i ...
, David Howells
, (Thu Oct 25, 9:34 am)
[PATCH 11/31] IGET: Stop EFS from using iget() and read_in ...
, David Howells
, (Thu Oct 25, 9:34 am)
[PATCH 12/31] IGET: Stop EXT2 from using iget() and read_i ...
, David Howells
, (Thu Oct 25, 9:34 am)
[PATCH 13/31] IGET: Stop EXT3 from using iget() and read_i ...
, David Howells
, (Thu Oct 25, 9:34 am)
[PATCH 14/31] IGET: Stop EXT4 from using iget() and read_i ...
, David Howells
, (Thu Oct 25, 9:35 am)
[PATCH 15/31] IGET: Stop FAT from using iget() and read_in ...
, David Howells
, (Thu Oct 25, 9:35 am)
[PATCH 16/31] IGET: Stop FreeVXFS from using iget() and re ...
, David Howells
, (Thu Oct 25, 9:35 am)
[PATCH 17/31] IGET: Stop FUSE from using iget() and read_i ...
, David Howells
, (Thu Oct 25, 9:35 am)
[PATCH 18/31] IGET: Stop HFSPLUS from using iget() and rea ...
, David Howells
, (Thu Oct 25, 9:35 am)
[PATCH 19/31] IGET: Stop ISOFS from using read_inode() [tr ...
, David Howells
, (Thu Oct 25, 9:35 am)
[PATCH 20/31] IGET: Stop JFFS2 from using iget() and read_ ...
, David Howells
, (Thu Oct 25, 9:35 am)
[PATCH 21/31] IGET: Stop JFS from using iget() and read_in ...
, David Howells
, (Thu Oct 25, 9:35 am)
[PATCH 22/31] IGET: Stop the MINIX filesystem from using i ...
, David Howells
, (Thu Oct 25, 9:35 am)
[PATCH 23/31] IGET: Stop PROCFS from using iget() and read ...
, David Howells
, (Thu Oct 25, 9:35 am)
[PATCH 24/31] IGET: Stop QNX4 from using iget() and read_i ...
, David Howells
, (Thu Oct 25, 9:36 am)
[PATCH 25/31] IGET: Stop ROMFS from using iget() and read_ ...
, David Howells
, (Thu Oct 25, 9:36 am)
[PATCH 26/31] IGET: Stop the SYSV filesystem from using ig ...
, David Howells
, (Thu Oct 25, 9:36 am)
[PATCH 27/31] IGET: Stop UFS from using iget() and read_in ...
, David Howells
, (Thu Oct 25, 9:36 am)
[PATCH 28/31] IGET: Stop OPENPROMFS from using iget() and ...
, David Howells
, (Thu Oct 25, 9:36 am)
[PATCH 29/31] IGET: Stop HOSTFS from using iget() and read ...
, David Howells
, (Thu Oct 25, 9:36 am)
[PATCH 30/31] IGET: Stop HPPFS from using iget() and read_ ...
, David Howells
, (Thu Oct 25, 9:36 am)
[PATCH 31/31] IGET: Remove iget() and the read_inode() sup ...
, David Howells
, (Thu Oct 25, 9:36 am)
Re: [PATCH 01/31] Add an ERR_CAST() macro to complement ER ...
, Zach Brown
, (Thu Oct 25, 4:09 pm)
Re: [PATCH 01/31] Add an ERR_CAST() macro to complement ER ...
, Roland Dreier
, (Thu Oct 25, 4:38 pm)
Re: [PATCH 01/31] Add an ERR_CAST() macro to complement ER ...
, Andrew Morton
, (Thu Oct 25, 4:46 pm)
Re: [PATCH 01/31] Add an ERR_CAST() macro to complement ER ...
, Zach Brown
, (Thu Oct 25, 5:20 pm)
Re: [PATCH 16/31] IGET: Stop FreeVXFS from using iget() an ...
, Andrew Morton
, (Tue Nov 6, 3:25 am)
Re: [PATCH 16/31] IGET: Stop FreeVXFS from using iget() an ...
, David Howells
, (Tue Nov 6, 4:09 am)
Re: [PATCH 16/31] IGET: Stop FreeVXFS from using iget() an ...
, David Howells
, (Tue Nov 6, 4:13 am)
Navigation
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Mel Gorman
Re: [PATCH 1/4] vmstat: remove zone->lock from walk_zones_in_node
Guenter Roeck
Re: [lm-sensors] Location for thermal drivers
David Woodhouse
Re: RFC: Moving firmware blobs out of the kernel.
Siddha, Suresh B
Re: [PATCH 2.6.21 review I] [11/25] x86: default to physical mode on hotplug CPU k...
Peter Zijlstra
Re: [patch 4/6] mm: merge populate and nopage into fault (fixes nonlinear)
git-commits-head
:
Linux Kernel Mailing List
[MIPS] Fix potential latency problem due to non-atomic cpu_wait.
Linux Kernel Mailing List
USB: rename USB_SPEED_VARIABLE to USB_SPEED_WIRELESS
Linux Kernel Mailing List
lib/vsprintf.c: fix bug omitting minus sign of numbers (module_param)
Linux Kernel Mailing List
[Bluetooth] Initiate authentication during connection establishment
Linux Kernel Mailing List
[POWERPC] 4xx: Add ppc40x_defconfig
linux-netdev
:
MERCEDES
Your mail id has won 950,000.00 in the MERCEDES Benz Online Promo.for claims send:
David Miller
Re: [PATCH] xen/netfront: do not mark packets of length < MSS as GSO
David Miller
Re: skb_segment() questions
Shan Wei
[RFC PATCH net-next 2/5]IPv6:netfilter: Send an ICMPv6 "Fragment Reassembly Timeou...
Stanislaw Gruszka
[PATCH 1/4] bnx2x: use smp_mb() to keep ordering of read write operations
git
:
Nicolas Sebrecht
git-svn died of signal 11 (was "3 failures on test t9100 (svn)")
Junio C Hamano
Re: [PATCH 2/2] Add url.<base>.pushInsteadOf: URL rewriting for push only
Martin Langhoff
Re: [PATCH] GIT commit statistics.
Alexandre Julliard
[PATCH] gitweb: Put back shortlog instead of graphiclog in the project list.
Josh Triplett
[PATCH 2/2] Add url.<base>.pushInsteadOf: URL rewriting for push only
openbsd-misc
:
Taisto Qvist XX
Re: AMD GEODE LX-800 just works with kernel from install42.iso and kernelpanics wi...
Nico Meijer
Re: gOS Develop Kit with VIA pc-1 Processor Platform VIA C7-D
Andreas Bihlmaier
Re: jetway board sensors (Fintek F71805F)
admin
Drive a 2009 car from R799p/m
Antti Harri
Re: how to create a sha256 hash
Colocation donated by:
Syndicate