Skip to content

Commit

Permalink
module: build without warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeryan committed Jul 18, 2014
1 parent cff914a commit a1f77a2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions driver_src/new_bluetooth/lbluetooth_entry.c
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,7 @@ static int _bluetooth_usb_probe(struct usb_interface *intf, const struct usb_dev
ep->desc.bEndpointAddress & USB_DIR_IN ? " IN" : "OUT");
}

printk("%s: sc is %x\n", __FUNCTION__, (unsigned int)&syscall);
printk("%s: sc is %p\n", __FUNCTION__, &syscall);
b_syscall_set((PSYS_CALL)&syscall);


Expand All @@ -675,7 +675,7 @@ static int _bluetooth_usb_probe(struct usb_interface *intf, const struct usb_dev
usb_info.EP_bulkin_Rx = INDEX_EP_BULK_IN_DATA;
usb_info.EP_interrupt = INDEX_EP_INTR;

printk("%s: usb_info is %x\n", __FUNCTION__, (unsigned int)&usb_info);
printk("%s: usb_info is %p\n", __FUNCTION__, &usb_info);
if(NULL == (devExt= Bluetooth_Adap_Create((PUSB_INFO)&usb_info, udev, intf)))
{
printk("%s: Usb device Init failed \n",__FUNCTION__);
Expand Down
10 changes: 5 additions & 5 deletions driver_src/wlan/lwlan_entry.c
Original file line number Diff line number Diff line change
Expand Up @@ -252,10 +252,10 @@ static int _wlan_usb_probe(struct usb_interface *intf, const struct usb_device_i


//syscall.print = printk;
printk("tdsp_spin_lock_init is %x,syscall's is %x\n",
(unsigned int)tdsp_spin_lock_init,
(unsigned int)syscall.spin_lock_init);
printk("sc is %x\n",(unsigned int)&syscall);
printk("tdsp_spin_lock_init is %p,syscall's is %p\n",
tdsp_spin_lock_init,
syscall.spin_lock_init);
printk("sc is %p\n",&syscall);
syscall_set((PSYS_CALL)&syscall);

//fill usb device info
Expand All @@ -267,7 +267,7 @@ static int _wlan_usb_probe(struct usb_interface *intf, const struct usb_device_i
usb_info.EP_bulkin = USB_EP_BULKIN;
usb_info.EP_interrupt = USB_EP_BULKINT;

printk("usb_info is %x\n",(unsigned int)&usb_info);
printk("usb_info is %p\n",&usb_info);
if(NULL == (pAdap = Adap_Create((PUSB_INFO)&usb_info)))
{
printk("[%s] Usb device Init failed \n",__FUNCTION__);
Expand Down

0 comments on commit a1f77a2

Please sign in to comment.