]> git.neil.brown.name Git - history.git/commitdiff
Fix type - it used to be "__u8 short", which previous versions
authorLinus Torvalds <torvalds@home.transmeta.com>
Sat, 12 Oct 2002 10:15:31 +0000 (03:15 -0700)
committerLinus Torvalds <torvalds@home.transmeta.com>
Sat, 12 Oct 2002 10:15:31 +0000 (03:15 -0700)
of gcc incorrectly accepted as "short". It got fixed to __u8, but
it really should be __u16.

drivers/ide/ide-cd.h

index 7d95d5f4186c2c4c5aac34d6627029a421201135..2455e002bfadd9653e4656ab8240566c5f7fd36e 100644 (file)
@@ -437,7 +437,7 @@ struct atapi_mechstat_header {
 
        byte     curlba[3];
        byte     nslots;
-       __u    slot_tablelen;
+       __u16    slot_tablelen;
 };