I've reworked the log page handling to linked-lists. (similar to MODE PAGE changes the other day)
This is a request-for-comment posting.
I realize there is still much work to do. But this should be functional.
0001-Move-LOG-SENSE-SELECT-data-into-linked-list.patchItems still to do.
- Merge ssc_log_sense() and smc_log_sense() into 'spc_log_sense()' to reduce common functionality.
- review each device emulation and implement the appropriate log page(s) for those devices. (Same needs to be done for MODE PAGES)
Long term - actually fill in some of the log data with real info. :)