Hi Adam,
* Adam Lee [2013-07-09 10:55:01 +0800]:
> On Mon, Jul 08, 2013 at 11:50:54AM -0700, Marcel Holtmann wrote:
> > Hi Adam,
> >
> > > PTR_ERR() returns a long type value, but btusb_setup_intel() and
> > > btusb_setup_intel_patching() should return an int type value.
> > >
> > > This bug
On Tue, Jul 09, 2013 at 10:55:01AM +0800, Adam Lee wrote:
> On Mon, Jul 08, 2013 at 11:50:54AM -0700, Marcel Holtmann wrote:
> > Hi Adam,
> >
> > > PTR_ERR() returns a long type value, but btusb_setup_intel() and
> > > btusb_setup_intel_patching() should return an int type value.
> > >
> > >
On Tue, Jul 09, 2013 at 10:55:01AM +0800, Adam Lee wrote:
On Mon, Jul 08, 2013 at 11:50:54AM -0700, Marcel Holtmann wrote:
Hi Adam,
PTR_ERR() returns a long type value, but btusb_setup_intel() and
btusb_setup_intel_patching() should return an int type value.
This bug makes the
Hi Adam,
* Adam Lee adam@canonical.com [2013-07-09 10:55:01 +0800]:
On Mon, Jul 08, 2013 at 11:50:54AM -0700, Marcel Holtmann wrote:
Hi Adam,
PTR_ERR() returns a long type value, but btusb_setup_intel() and
btusb_setup_intel_patching() should return an int type value.
This
On Mon, Jul 08, 2013 at 11:50:54AM -0700, Marcel Holtmann wrote:
> Hi Adam,
>
> > PTR_ERR() returns a long type value, but btusb_setup_intel() and
> > btusb_setup_intel_patching() should return an int type value.
> >
> > This bug makes the judgement "if (ret < 0)" not working on x86_64
> >
Hi Adam,
> PTR_ERR() returns a long type value, but btusb_setup_intel() and
> btusb_setup_intel_patching() should return an int type value.
>
> This bug makes the judgement "if (ret < 0)" not working on x86_64
> architecture systems, leading to failure as below, even panic.
>
> [ 12.958920]
Hi Adam,
PTR_ERR() returns a long type value, but btusb_setup_intel() and
btusb_setup_intel_patching() should return an int type value.
This bug makes the judgement if (ret 0) not working on x86_64
architecture systems, leading to failure as below, even panic.
[ 12.958920] Bluetooth:
On Mon, Jul 08, 2013 at 11:50:54AM -0700, Marcel Holtmann wrote:
Hi Adam,
PTR_ERR() returns a long type value, but btusb_setup_intel() and
btusb_setup_intel_patching() should return an int type value.
This bug makes the judgement if (ret 0) not working on x86_64
architecture
On Fri, Jul 05, 2013 at 10:59:47AM +0800, Adam Lee wrote:
> On Fri, Jul 05, 2013 at 10:37:07AM +0800, Yang Bai wrote:
> > The return value of btusb_setup_intel is compared with 0. Code as:
> >
> > drivers/bluetooth/btusb.c:
> > static int btusb_probe(struct usb_interface *intf,
> > const struct
On Fri, Jul 05, 2013 at 10:37:07AM +0800, Yang Bai wrote:
> The return value of btusb_setup_intel is compared with 0. Code as:
>
> drivers/bluetooth/btusb.c:
> static int btusb_probe(struct usb_interface *intf,
> const struct usb_device_id *id)
> if (id->driver_info & BTUSB_INTEL)
> hdev->setup =
Resend without HTML format.
The return value of btusb_setup_intel is compared with 0. Code as:
drivers/bluetooth/btusb.c:
static int btusb_probe(struct usb_interface *intf,
const struct usb_device_id *id) {
if (id->driver_info & BTUSB_INTEL)
hdev->setup = btusb_setup_intel;
}
PTR_ERR() returns a long type value, but btusb_setup_intel() and
btusb_setup_intel_patching() should return an int type value.
This bug makes the judgement "if (ret < 0)" not working on x86_64
architecture systems, leading to failure as below, even panic.
[ 12.958920] Bluetooth: hci0 command
PTR_ERR() returns a long type value, but btusb_setup_intel() and
btusb_setup_intel_patching() should return an int type value.
This bug makes the judgement if (ret 0) not working on x86_64
architecture systems, leading to failure as below, even panic.
[ 12.958920] Bluetooth: hci0 command
Resend without HTML format.
The return value of btusb_setup_intel is compared with 0. Code as:
drivers/bluetooth/btusb.c:
static int btusb_probe(struct usb_interface *intf,
const struct usb_device_id *id) {
if (id-driver_info BTUSB_INTEL)
hdev-setup = btusb_setup_intel;
}
On Fri, Jul 05, 2013 at 10:37:07AM +0800, Yang Bai wrote:
The return value of btusb_setup_intel is compared with 0. Code as:
drivers/bluetooth/btusb.c:
static int btusb_probe(struct usb_interface *intf,
const struct usb_device_id *id)
if (id-driver_info BTUSB_INTEL)
hdev-setup =
On Fri, Jul 05, 2013 at 10:59:47AM +0800, Adam Lee wrote:
On Fri, Jul 05, 2013 at 10:37:07AM +0800, Yang Bai wrote:
The return value of btusb_setup_intel is compared with 0. Code as:
drivers/bluetooth/btusb.c:
static int btusb_probe(struct usb_interface *intf,
const struct
16 matches
Mail list logo