[lkml]   [2011]   [Nov]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH 2/8] firmware: Sigma: Skip header during CRC generation
    On Thursday 24 November 2011 07:48:21 Lars-Peter Clausen wrote:
    > The firmware header is not part of the CRC, so skip it. Otherwise the
    > firmware will be rejected due to non-matching CRCs.

    that's because you didn't compare to the right value ;). include the CRC ->
    compare to 0. omit the CRC -> compare to the CRC value.

    including the CRC and doing a compare to 0 would probably make for slightly
    smaller code ...
    [unhandled content-type:application/pgp-signature]
     \ /
      Last update: 2011-11-24 18:23    [W:0.034 / U:27.700 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site