diff options
author | Oliver Neukum <oneukum@suse.de> | 2007-03-14 15:22:25 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2007-04-27 13:28:35 -0700 |
commit | fe4b65ec9127a336eeaa503f878062d9e6f44591 (patch) | |
tree | 93083a02fd33b2e24f85cd622bd41dac3cb66116 /Documentation/CodingStyle | |
parent | 7378c57a8d4cf36e2f2b389d96d0d85043bd1c17 (diff) |
mos7720 update
this driver has an interesting way of handling ENOMEM: complain and ignore.
If you decide to live with allocation failures, you must
1. guard against URBs without corresponding buffers
2. complete allocation failures
3. always test entries for NULL before you follow the pointers
This patch does so.
Signed-off-by: Oliver Neukum <oneukum@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'Documentation/CodingStyle')
0 files changed, 0 insertions, 0 deletions