[lkml]   [2003]   [Aug]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH] 2.6.0-test4: small updates for zoran driver

I've got 6 small patches to fix various small issues noticed by people
with the zoran driver that was accepted in 2.6.0-test3. These patches
should fix some of these issues. Most were noticed by Francois Romieu
(#1, #4-6). #2 was noticed by Linus (symbol conflict), #3 was already
announced by Gerd Knorr (v4l maitainer) some time ago, but I forgot to
actually apply the fix for that to my driver.

#1 fixes several memleaks in error cases when the setup of i2c client
drivers for video encoders/decoders fails. We forgot to free some memory
in various places.

#2 renames debug to zr_debug because debug is already defined somewhere

#3 adds a release callback which frees the video_device struct. This is
needed to prevent freeing memoy before it's not in use anymore, as
described in Without this, the driver
will give a warning when loaded.

#4 adds pci_disable_device() to the card release function, we already
used pci_enable_device() in the card detection function.

#5 changes some funky coding style (a.k.a. indent artifact) to a
somewhat more conservative coding style.

#6 adds some newlines between variable declarations and function bodies.


Please apply all of them.

On a related note, I'm not trying to be a pain in the ass by not
inlining patches, but Evolution doesn't seem to like me doing that, so
I'm kind of forced to do it differently. Is anyone else here using
Evolution to send in patches or is Evolution broken?



Ronald Bultje <>

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:48    [W:0.036 / U:1.468 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site