diff options
author | Manoj Sawai <mas@iitkgp.ac.in> | 2017-03-10 00:33:18 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-12 15:17:02 +0100 |
commit | c672f377671c7666d1bf774af0f58ca33be546be (patch) | |
tree | 1324a4bfc48a256baebcc4895b6c4e5c3497356b /drivers/staging/xgifb | |
parent | d0dee553a345639fa12f0669c7886cf4d3c844e6 (diff) |
Staging: xgifb: XGI_main_26.c: non-standard C
Fixes following checkpatch warning:
"WARNING: %Lx is non-standard C, use %llx"
Signed-off-by: Manoj Sawai <mas@iitkgp.ac.in>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/xgifb')
-rw-r--r-- | drivers/staging/xgifb/XGI_main_26.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/xgifb/XGI_main_26.c b/drivers/staging/xgifb/XGI_main_26.c index 9870ea3b76b4..d938da3e8a1e 100644 --- a/drivers/staging/xgifb/XGI_main_26.c +++ b/drivers/staging/xgifb/XGI_main_26.c @@ -1643,7 +1643,7 @@ static int xgifb_probe(struct pci_dev *pdev, const struct pci_device_id *ent) xgifb_info->mmio_base = pci_resource_start(pdev, 1); xgifb_info->mmio_size = pci_resource_len(pdev, 1); xgifb_info->vga_base = pci_resource_start(pdev, 2) + 0x30; - dev_info(&pdev->dev, "Relocate IO address: %Lx [%08lx]\n", + dev_info(&pdev->dev, "Relocate IO address: %llx [%08lx]\n", (u64)pci_resource_start(pdev, 2), xgifb_info->vga_base); @@ -1738,13 +1738,13 @@ static int xgifb_probe(struct pci_dev *pdev, const struct pci_device_id *ent) xgifb_info->mmio_size); dev_info(&pdev->dev, - "Framebuffer at 0x%Lx, mapped to 0x%p, size %dk\n", + "Framebuffer at 0x%llx, mapped to 0x%p, size %dk\n", (u64)xgifb_info->video_base, xgifb_info->video_vbase, xgifb_info->video_size / 1024); dev_info(&pdev->dev, - "MMIO at 0x%Lx, mapped to 0x%p, size %ldk\n", + "MMIO at 0x%llx, mapped to 0x%p, size %ldk\n", (u64)xgifb_info->mmio_base, xgifb_info->mmio_vbase, xgifb_info->mmio_size / 1024); |