chassis_id in the udev tree
Hi Atul,
please check if you chassis_id program living in the udev tree still works as expected. I've changed and corrected some things to make it compile cleanly. You didn't define function prototypes for the stuff in table.c. Cause of that, seems you didn't notice that you passed the wrong parameters down to:
table_find_disk(disk_snum, &chassis_num, &slot_num);
which was defined as:
int table_find_disk(char *serialnumber , int *host_num, int *chassis_num, int *slot_num)
You may look at the changes here:
http://linuxusb.bkbits.net:8080/udev/cset@4203b2b6mCmKtRl6bDRTzIGCa92zjg
Thanks,
Kay
-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel