• Bartlomiej Zolnierkiewicz's avatar
    ide-cd: unify transfer padding in cdrom_newpc_intr() · 14fa91cc
    Bartlomiej Zolnierkiewicz authored
    * 'thislen' is always <= cmd->nleft for non-fs requests so the transfer
      padding inside the 'while (thislen > 0)' loop can happen only for fs
      requests -- then move it out of the loop and unify with the transfer
      padding for non-fs requests ('thislen' == 'len' for fs requests).
    
    * blk_dump_rq_flags() dumps all request flags so it is enough to pass
      only the function name to it.
    
    * Update my Copyrights while at it.
    
    Cc: Borislav Petkov <petkovbb@gmail.com>
    Signed-off-by: default avatarBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
    14fa91cc
ide-cd.c 47.9 KB