From fd2d5410a7600d1d9cd7b6619b7904642ac40e6e Mon Sep 17 00:00:00 2001 From: Quinn Jensen Date: Wed, 24 Oct 2007 21:23:01 -0600 Subject: Bugzilla 510: Update to code review fixes following L2618.2 Patch for Bugzilla 510: Update to code review fixes following L2618.2 Changes made to fix bugs and/or port to 2.6.19.2 after including GSO L2618-2 patches as discovered and discussed in the code review. http://www.bitshrine.org/gpp/linux-2.6.22-mx-Bugzilla-510-Update-to-code-review-fixes-f.patch --- drivers/usb/gadget/arcotg_udc.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'drivers/usb/gadget') diff --git a/drivers/usb/gadget/arcotg_udc.c b/drivers/usb/gadget/arcotg_udc.c index 85eace5e0725..ee91d3f578cf 100644 --- a/drivers/usb/gadget/arcotg_udc.c +++ b/drivers/usb/gadget/arcotg_udc.c @@ -2890,8 +2890,9 @@ static int __devinit fsl_udc_probe(struct platform_device *pdev) rsrc_start = pdev->resource[0].start; rsrc_len = pdev->resource[0].end - pdev->resource[0].start + 1; - pr_debug("start=0x%x end=0x%x\n", - pdev->resource[0].start, pdev->resource[0].end); + pr_debug("start=0x%lx end=0x%lx\n", + (unsigned long)pdev->resource[0].start, + (unsigned long)pdev->resource[0].end); pr_debug("rsrc_start=0x%llx rsrc_len=0x%llx\n", rsrc_start, rsrc_len); #if 0 /* DDD */ @@ -3062,7 +3063,7 @@ static int udc_suspend(struct arcotg_udc *udc) static int fsl_udc_suspend(struct device *dev, pm_message_t state) { struct arcotg_udc *udc = (struct arcotg_udc *)dev_get_drvdata(dev); - pr_debug("udc: Suspend. state=%d\n", state.event); + pr_debug("udc: Suspend.\n"); return udc_suspend(udc); } -- cgit v1.2.3