Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fast-classifier.c: eliminate compile warnings (may be a potential bug)
The relevant warning messages are as follows: CC [M] drivers/net/ethernet/qualcomm/sfe/shortcut-fe/sfe_cm.o CC [M] drivers/net/ethernet/qualcomm/sfe/fast-classifier/fast-classifier.o AR [M] drivers/net/ethernet/qualcomm/sfe/shortcut-fe/shortcut-fe-cm.o LTO [M] drivers/net/ethernet/qualcomm/sfe/shortcut-fe/shortcut-fe-cm.lto.o drivers/net/ethernet/qualcomm/sfe/fast-classifier/fast-classifier.c:1486:20: warning: converting the enum constant to a boolean [-Wint-in-bool -context] if (sis->src_dev && IFF_EBRIDGE && ^ drivers/net/ethernet/qualcomm/sfe/fast-classifier/fast-classifier.c:1494:21: warning: converting the enum constant to a boolean [-Wint-in-bool -context] if (sis->dest_dev && IFF_EBRIDGE && ^ 2 warnings generated. LTO [M] drivers/net/ethernet/qualcomm/sfe/fast-classifier/fast-classifier.lto.o
- Loading branch information