-
Notifications
You must be signed in to change notification settings - Fork 668
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sed: extended discovery feature code printing #2723
Conversation
There are handful of printf format complains from the arm compiler:
I also noticed the introduction of struct geometry_reporting_desc {
uint8_t align;
uint8_t reserved[7];
uint32_t logical_block_size;
uint64_t alignment_granularity;
uint64_t lowest_aligned_lba;
} __packed; Generally,
Data type endianess: I think it would be good to use |
db6b0b8
to
9af0a7f
Compare
I think that I fixed the arm compiler warning but I updated the commit before I saw your response so the __packed is still there. I believe that one of the structures had a potential alignment issue so I used __packed for that. And since as you noted these are all wire format, I did use packed for all of them since they do need to be packed one way or the other. I'll update the commit to address your __be64 comment. |
9af0a7f
to
7e706c9
Compare
Added ability to discover and print details of all specified level 0 features. Signed-off-by: Greg Joyce <[email protected]>
5554011
to
24077ac
Compare
I think maybe we're good now. @igaw |
Thanks! |
Added ability to discover and print details of all specified level 0 features.