Re: staging/wlan-ng query: convert to flexible array member

Deepak R Varma
2022-11-08T17:37:32Z

On Tue, Nov 08, 2022 at 04:52:44PM +0100, Greg Kroah-Hartman wrote:
> On Tue, Nov 08, 2022 at 09:15:10PM +0530, Deepak R Varma wrote:
> > On Tue, Nov 08, 2022 at 04:34:15PM +0100, Greg Kroah-Hartman wrote:
> > MODPOST drivers/staging/wlan-ng/Module.symvers
> > LD [M] drivers/staging/wlan-ng/prism2_usb.ko
> > BTF [M] drivers/staging/wlan-ng/prism2_usb.ko
> > drv@qemulion:~/git/kernels/staging$
> > </snip>
> >
>
> Test the device to make sure it still works?

I was able to build and load the driver on my machine. I do not have p54 device
to test. Is there another way to test it? Some sort of a udev program???

<snip>
static struct usb_driver prism2_usb_driver = {
- .name = "prism2_usb",
+ .name = "prism2_usb_dvk",
.probe = prism2sta_probe_usb,
.disconnect = prism2sta_disconnect_usb,
.id_table = usb_prism_tbl,
drv@qemulion:~/git/kernels/staging$ sudo dmesg
[ 948.476144] prism2_usb: module is from the staging directory, the quality is unknown, you have been warned.
[ 948.478631] usbcore: registered new interface driver prism2_usb_dvk
</snip>

Thank you,
./drv

>