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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Daniel Drake
Date: Thursday, August 30, 2007 - 4: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 v ..., Daniel Drake, (Thu Aug 30, 4:47 pm)