Re: Problem with cdrom-range-fixes-patch in 2.6.9-rc1-mm2

From: Andy Polyakov
Date: Fri Sep 03 2004 - 01:43:53 EST


Grant Wilson wrote:
Hi,
With this patch applied a CDROMVOLREAD ioctl returns EINVAL. I believe that this is because of an error in the 'sanity check' added by the patch:

if ((buffer[offset] & 0x3f) == GPMODE_AUDIO_CTL_PAGE ||
^^
should be !=

Yes, absolutely. It should be != GPMODE_AUDIO_CTL_PAGE. Thanks! A.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/