Changeset 119


Ignore:
Timestamp:
Jun 4, 2007, 5:32:06 AM (13 years ago)
Author:
Brendan Oakley
Message:

Reversed bad fix of info.c

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/trunk/alsa-kernel/core/info.c

    r118 r119  
    190190    snd_assert(data != NULL, return -ENXIO);
    191191    pos = *offset;
    192 #ifndef TARGET_OS2
    193 /* MKG: pos is loff_t (see include/linux/types.h) which is
    194    typedef unsigned long - check later */
    195192    if (pos < 0 || (long) pos != pos || (ssize_t) count < 0)
    196193        return -EIO;
    197 #endif /* TARGET_OS2 */
    198194    if ((unsigned long) pos + (unsigned long) count < (unsigned long) pos)
    199195        return -EIO;
     
    236232    entry = data->entry;
    237233    pos = *offset;
    238 #ifndef TARGET_OS2
    239 /* MKG: pos is loff_t (see include/linux/types.h) which is
    240    typedef unsigned long - check later */
    241234    if (pos < 0 || (long) pos != pos || (ssize_t) count < 0)
    242235        return -EIO;
    243 #endif /* TARGET_OS2 */
    244236    if ((unsigned long) pos + (unsigned long) count < (unsigned long) pos)
    245237        return -EIO;
Note: See TracChangeset for help on using the changeset viewer.