2009-04-17 Pavel Roskin <proski@gnu.org>
* bus/usb/ohci.c (grub_ohci_transaction): Fix incorrect printf format. (grub_ohci_transfer): Likewise.
This commit is contained in:
parent
b012002d59
commit
07c5039fda
2 changed files with 8 additions and 4 deletions
|
@ -1,5 +1,9 @@
|
||||||
2009-04-17 Pavel Roskin <proski@gnu.org>
|
2009-04-17 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
|
* bus/usb/ohci.c (grub_ohci_transaction): Fix incorrect printf
|
||||||
|
format.
|
||||||
|
(grub_ohci_transfer): Likewise.
|
||||||
|
|
||||||
* bus/usb/usbtrans.c (grub_usb_control_msg): Warning fix.
|
* bus/usb/usbtrans.c (grub_usb_control_msg): Warning fix.
|
||||||
|
|
||||||
* loader/multiboot_loader.c (grub_cmd_multiboot_loader): Fix
|
* loader/multiboot_loader.c (grub_cmd_multiboot_loader): Fix
|
||||||
|
|
|
@ -233,9 +233,9 @@ grub_ohci_transaction (grub_ohci_td_t td,
|
||||||
grub_uint32_t buffer;
|
grub_uint32_t buffer;
|
||||||
grub_uint32_t buffer_end;
|
grub_uint32_t buffer_end;
|
||||||
|
|
||||||
grub_dprintf ("ohci", "OHCI transaction td=0x%02x type=%d, toggle=%d, size=%d\n",
|
grub_dprintf ("ohci", "OHCI transaction td=%p type=%d, toggle=%d, size=%d\n",
|
||||||
td, type, toggle, size);
|
td, type, toggle, size);
|
||||||
|
|
||||||
switch (type)
|
switch (type)
|
||||||
{
|
{
|
||||||
case GRUB_USB_TRANSFER_TYPE_SETUP:
|
case GRUB_USB_TRANSFER_TYPE_SETUP:
|
||||||
|
@ -295,7 +295,7 @@ grub_ohci_transfer (grub_usb_controller_t dev,
|
||||||
return GRUB_USB_ERR_INTERNAL;
|
return GRUB_USB_ERR_INTERNAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
grub_dprintf ("ohci", "alloc=0x%08x\n", td_list);
|
grub_dprintf ("ohci", "alloc=%p\n", td_list);
|
||||||
|
|
||||||
/* Setup all Transfer Descriptors. */
|
/* Setup all Transfer Descriptors. */
|
||||||
for (i = 0; i < transfer->transcnt; i++)
|
for (i = 0; i < transfer->transcnt; i++)
|
||||||
|
|
Loading…
Reference in a new issue