Re: [PATCH 3/3] USB: usbtest : Add tests to ensure HCDs can accept byte aligned buffers.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Instead of adding new tests, would it be better to add a new parameter
> to the existing tests?
>
I did consider that approach, the disadvantage I see is that it would
mean modifying the structure
used to pass the parameters from userspace via ioctl. This means
modifying the userspace
code whose source isn't in the kernel tree (I got it from
http://www.linux-usb.org/usbtest/testusb.c)

Since that can't be modified with a kernel patch there is the problem
of backwards
and forwards compatibility (ie breaking people's existing testusb programs when
switching to a new kernel and modified testusb potentially not working on old
kernels.)

If the testusb source were to be put in the kernel source tree
(where?) these problems
would go away.

Cheers,
Martin
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux