mISDN/dsp_cmx.c: fix size checks
authorAdrian Bunk <bunk@kernel.org>
Tue, 14 Oct 2008 01:42:55 +0000 (18:42 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Oct 2008 01:42:55 +0000 (18:42 -0700)
commit9e9540b8f7b91c8818e2386add3b58a961459166
tree8a30de4acba4f5d44a2291b409f84d139afc1a0f
parent6bff338bb60cb97f4ad06aa20f5c8e547eb1bc7a
mISDN/dsp_cmx.c: fix size checks

The checks for ensuring that the array indices are inside the range
were flipped.

Reported-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/mISDN/dsp_cmx.c