Changeset 74d35751 in rtems for cpukit/libblock


Ignore:
Timestamp:
Sep 5, 2013, 6:31:14 PM (6 years ago)
Author:
Gedare Bloom <gedare@…>
Branches:
4.11, master
Children:
a803e04d
Parents:
59261fba
Message:

flashdisk: swap arguments to checksum helper

The arguments to rtems_fdisk_calc_crc16() are reversed when called from
rtems_fdisk_page_checksum().

26052 Operands don't affect result

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libblock/src/flashdisk.c

    r59261fba r74d35751  
    10581058
    10591059  for (i = 0; i < page_size; i++, buffer++)
    1060     cs = rtems_fdisk_calc_crc16 (cs, *buffer);
     1060    cs = rtems_fdisk_calc_crc16 (*buffer, cs);
    10611061
    10621062  return cs;
Note: See TracChangeset for help on using the changeset viewer.