nxge: smatch error: npi_txc_pkt_stuffed_get() warn: mask and shift to zero
While building on x86, the smatch does complain:
/code/12654/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/smatch: ../../common/io/nxge/npi/npi_txc.c:793 npi_txc_pkt_stuffed_get() warn: mask and shift to zero
I think, it is endian issue, but as I do not have hw to test, I can not really test it myself.
Updated by Toomas Soome 3 months ago
Garrett D'Amore wrote:
I don't think anyone can use nxge on x86 -- I'm pretty sure this was never offered as an external NIC, and only present on systems with Niagara (T-series) sparc CPUs.
Probably we could (should?) just remove it from the x86 build altogether.
I still think, we should have project to collect prtconf (or like) output and build device DB...