diff options
author | Krzysztof Wilczynski <[email protected]> | 2020-05-21 20:04:39 +0000 |
---|---|---|
committer | Bjorn Helgaas <[email protected]> | 2020-05-21 15:21:53 -0500 |
commit | b8af85492fbf1acfb63b1f83e4faafbaa11c73eb (patch) | |
tree | eabef58fdb7ac85cf08d376b0fb7f71a89628e70 /drivers/usb/cdns3/cdns3-debug.h | |
parent | 8f3d9f354286745c751374f5f1fcafee6b3f3136 (diff) |
PCI/switchtec: Correct bool variable type assignment
Use "true" instead of 1 to initialize "bool use_dma_mrpc". This resolves
the following Coccinelle warning:
drivers/pci/switch/switchtec.c:28:12-24: WARNING: Assignment of 0/1 to bool variable
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Krzysztof Wilczynski <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Reviewed-by: Logan Gunthorpe <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions