lkml.org 
[lkml]   [2020]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 06/10] misc: eeprom: eeprom_93cx6: Repair function arg descriptions
    > @@ -270,7 +270,7 @@ EXPORT_SYMBOL_GPL(eeprom_93cx6_readb);
    > * @eeprom: Pointer to eeprom structure
    > * @byte: Index from where we should start reading
    > * @data: target pointer where the information will have to be stored
    > - * @words: Number of bytes that should be read.
    > + * @bytes: Number of bytes that should be read.

    Now we have 'byte' and 'bytes' here as arguments which is confusing. I
    think renaming 'words' into 'num_bytes' would be even better.

    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2020-06-27 22:34    [W:4.030 / U:0.072 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site