I just ran the static analyser cppcheck over the source code of the linux kernel version 3.5-rc5. It said [linux-3.5-rc5/drivers/media/video/cx25821/cx25821-medusa-video.c:502]: (warning) Logical conjunction always evaluates to false: decoder < 0 && decoder > 7. The source code is if (decoder < VDEC_A && decoder > VDEC_H) { I think you might be better off with if (decoder < VDEC_A || decoder > VDEC_H) {
Patch queued
A patch referencing this bug report has been merged in Linux v3.6-rc1: commit c79a3c352469ea0a9cb2ed9e32c1932a7ff66c5c Author: Alan Cox <alan@linux.intel.com> Date: Tue Jul 24 12:00:24 2012 -0300 [media] cx25821,medusa: incorrect check on decoder type