Use gcc warning flag -Wempty-body
If the compiler supports the warning flag -Wempty-body, use it.
Adjust the code to avoid the warnings.
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
pxa2xx: remove useless checks
Remove checks which were made useless by r5849,8da3ff180974732fc4272cb4433fef85c1822961.
This also avoids a warning with GCC flag -Wtype-limits.
pxa2xx: fix SSSR TFN logic
Fix SSSR TFN logic: TX FIFO is never filled, so it is always inunderrun condition if SSP is enabled.
This also avoids a gcc warning with -Wtype-limits.
Check for errors during BIOS or kernel load
Because of the use of unsigned types, possible errors duringBIOS or kernel load were ignored.
Fix by using a signed type.
This also avoids some warnings with GCC flag -Wtype-limits.
Introduce range.h
Extract range functions from pci.h. These will be used by later patchesby non-PCI devices. Adjust current users.
Use range_covers_byte
Use range_covers_byte() instead of comparisons.
This avoids some warnings with GCC flag -Wtype-limits.
serial: Update parameters after load
This is the patch to update serial port parameters after guest isalready loaded.
Signed-off-by: Michal Novotny <minovotn@redhat.com>Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Remove wrong semicolon in macro definition
Macros normally should not end with a semicolon,otherwise their usage results in two statementswhere only one statement was expected.
Signed-off-by: Stefan Weil <weil@mail.berlios.de>Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
serial: Wrap debug prints around a DPRINTF macro
ESP: fix ESP DMA access when DMA is not enabled
Sending ESP a command caused it to trigger DMA immediatelyeven if DMA was not enabled at the DMA controller.
Add a signal from DMA controller to ESP to tell ESP about changes inDMA enable bit. Also use the correct function for setting up GPIO outputs....
View revisions
Also available in: Atom