lkml.org 
[lkml]   [2016]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v3 20/28] staging: iio: tsl2583: don't assume an unsigned int is 32 bits
    On Thu, Nov 10, 2016 at 04:25:56AM -0500, Brian Masney wrote:
    > in_illuminance_lux_table_store assumes that an unsigned int is 32 bits.

    It's a totally safe assumption. The only problem is that it's less
    readable than sizeof().

    regards,
    dan carpenter

    \
     
     \ /
      Last update: 2016-12-05 21:56    [W:8.786 / U:0.076 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site