Skip to contentSkip to conversation

pcie aer comment

Qemu-devel Michael S. Tsirkin 2 participants 2 messages Dec 2, 2010 – Dec 7, 2010

lore
Share & tools
lore
#0 lore raw

Also, the code has many cases that look like:

            if (root_cmd & PCI_ERR_ROOT_CMD_COR_EN) {
            }
If the intent is to add some code later, pls put a TODO here.
Otherwise please remove these or replace with comments like
	/* For correctable - nothing special needs to be done. */
Signature · 1 line
MST
#1 lore raw
Quoted 7 lines · Michael S. Tsirkin

Also, the code has many cases that look like:

            if (root_cmd & PCI_ERR_ROOT_CMD_COR_EN) {
            }
If the intent is to add some code later, pls put a TODO here.
Otherwise please remove these or replace with comments like
	/* For correctable - nothing special needs to be done. */

Your patches of 2,3/6 introduc it. I think they can be just removed.

Signature · 1 line
yamahata