Problem with cdrom-range-fixes-patch in 2.6.9-rc1-mm2
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 !=Yours,
Grant Wilson
Quoted 6 lines · Grant Wilson
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.