Re: [PATCH 13/30] net: Don't do pointless kmalloc return value casts in zd1211 driver

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jesper Juhl <jesper.juhl@...>
Cc: Linux Kernel Mailing List <linux-kernel@...>, <netdev@...>, David S. Miller <davem@...>, Ulrich Kunitz <kune@...>, <linux-wireless@...>
Date: Thursday, August 30, 2007 - 7:47 pm

Jesper Juhl wrote:

We use it as a safety measure when coding. For example the write 
register function takes an address and a value. We got one of these the 
wrong way round once, and had a non-obvious bug.

nocast and sparse helps us prevent this.

Daniel

-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 13/30] net: Don't do pointless kmalloc return val..., Daniel Drake, (Thu Aug 30, 7:47 pm)