Skip to content
Snippets Groups Projects
  • Stefan Richter's avatar
    6e95dea7
    firewire: core: change type of a data buffer · 6e95dea7
    Stefan Richter authored
    
    from array of char to union of structs.  I already used a union to size
    the buffer which holds ioctl arguments; more consequent is to define it
    as an instance of this union in the first place.
    
    Also rename several local variables from "request" to "a"(rgument) since
    the term request can be mistaken to mean a transaction subaction, e.g.
    an instance of struct fw_request.
    
    Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
    6e95dea7
    History
    firewire: core: change type of a data buffer
    Stefan Richter authored
    
    from array of char to union of structs.  I already used a union to size
    the buffer which holds ioctl arguments; more consequent is to define it
    as an instance of this union in the first place.
    
    Also rename several local variables from "request" to "a"(rgument) since
    the term request can be mistaken to mean a transaction subaction, e.g.
    an instance of struct fw_request.
    
    Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
core-cdev.c 37.94 KiB