summary refs log tree commit diff stats
path: root/results/classifier/phi4:14b/output/manual-review/1910605
blob: 1b4342cfe172812c4c5dda48613c820002215783 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
qemu-arm-static ioctl USBDEVFS_BULK return -1 (EFAULT) Bad address



Snippet of code sample:

struct usbdevfs_bulktransfer Bulk;
Bulk.ep = hUsb->UsbOut;          
Bulk.len = Len;          
Bulk.data = (void *)pData;          
Bulk.timeout = Timeout;
Bytes = ioctl(hUsb->fd, USBDEVFS_BULK, &Bulk)

The above code sample return -1 (EFAULT) Bad address when using qemu-arm-static but is running ok when on qemu-aarch64-static.

I use a 64-bit intel laptop