eepro100: Remove unused device status entries
A lot of entries are unused (they were added by copy + pastefrom other drivers during development of eepro100.c).
Removing them from nic_save, nic_load makes anyold saved status incompatible, so a new version...
hw/omap_dma: add matching {} in if 0
MULTI_REQ is never defined, so it doesn't matter much, but sincewe have an if statement there, let's add {} to clarify what itshould do if it's uncommented, and indent the code properly.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>...
Revert "Get rid of _t suffix"
In the very least, a change like this requires discussion on the list.
The naming convention is goofy and it causes a massive merge problem. Somethinglike this must be presented on the list first so people can provide input...
Get rid of _t suffix
Some not so obvious bits, slirp and Xen were left alone for the timebeing.
Signed-off-by: malc <av1474@comtv.ru>
escc: fix another coding style nit
Fix another place with =- to be "= ".to avoid confusion with old-style "=" (which we also have, and needs to be fixed).
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
escc: fix coding style nit
Put space between = and - assigning a negative numberto avoid confusion with old-style "-=" (which we also have, and needs to be fixed).
omap_dma: fix unbalanced { in commented out code
Fix unbalanced {} in commented out code.
twl92230: fix old style increment/decrement usage
Modern compilers do not parse "=-" as decrement:you must use "-=" for that. Same for "=+"/"+=".
eepro100: Fix format strings in debug messages
size_t arguments need %zu instead of %d.
Signed-off-by: Stefan Weil <weil@mail.berlios.de>Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
eepro100: Replace sprintf by snprintf
View revisions
Also available in: Atom