diff options
author | David Gow <[email protected]> | 2021-06-24 01:48:23 -0700 |
---|---|---|
committer | Shuah Khan <[email protected]> | 2021-06-25 11:31:03 -0600 |
commit | 824945a5b0ff8260a568b87968172d728446d8f7 (patch) | |
tree | 8c10bea6e7818c9df45951ef5f88403131361ccd /scripts/gdb/linux/tasks.py | |
parent | b29b14f11d8803e59645644363d7b1cb314fff3f (diff) |
thunderbolt: test: Reinstate a few casts of bitfields
Partially revert "thunderbolt: test: Remove some casts which are no
longer required". It turns out that typeof() doesn't support bitfields,
so these still need to be cast to the appropriate enum.
The only mention of typeof() and bitfields I can find is in the proposal
to standardise them:
http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2619.htm
This was caught by the kernel test robot:
https://lists.01.org/hyperkitty/list/[email protected]/thread/FDKBHAV7QNLNFU5NBI2RKV56DWDSOLGM/
Fixes: 8f0877c26e4b ("thunderbolt: test: Remove some casts which are no longer required")
Reported-by: kernel test robot <[email protected]>
Signed-off-by: David Gow <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions