diff options
author | Lukas Wunner <lukas@wunner.de> | 2017-06-06 14:25:04 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-06-09 11:42:42 +0200 |
commit | 02b17a41ad102934a3772ffc82f345345c232ee4 (patch) | |
tree | 450c50597bdf621d2ad82556b92de67bae46ad55 /drivers/scsi/scsi_trace.c | |
parent | thunderbolt: Do not fail if DROM data CRC32 is invalid (diff) | |
download | linux-02b17a41ad102934a3772ffc82f345345c232ee4.tar.xz linux-02b17a41ad102934a3772ffc82f345345c232ee4.zip |
thunderbolt: Refactor and fix parsing of port drom entries
Currently tb_drom_parse_entry() is only able to parse drom entries of
type TB_DROM_ENTRY_PORT. Rename it to tb_drom_parse_entry_port().
Fold tb_drom_parse_port_entry() into it.
Its return value is currently ignored. Evaluate it and abort parsing on
error.
Change tb_drom_parse_entries() to accommodate for parsing of other entry
types than TB_DROM_ENTRY_PORT.
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Andreas Noever <andreas.noever@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/scsi/scsi_trace.c')
0 files changed, 0 insertions, 0 deletions