Re: [PATCH v2 1/2] vTPM: support little endian guests
From: Ashley Lai
Date: Tue Jun 16 2015 - 21:18:14 EST
Just a small comment otherwise it looks good.
On Tue, 9 Jun 2015, Hon Ching(Vicky) Lo wrote:
case NONHOST_INFO:
- name = tcpa_event_type_strings[event->event_type];
+ name =
+ tcpa_event_type_strings[do_endian_conversion
+ (event->event_type)];
Not being picky but if it does not exceed 80 characters it looks better
to join the line above.
name = tcpa_event_type_strings[do_endian_conversion
(event->event_type)];
case POST_CONTENTS:
- name = tcpa_pc_event_id_strings[pc_event->event_id];
+ name =
+ tcpa_pc_event_id_strings[do_endian_conversion
+ (pc_event->event_id)];
Same as above.
Thanks,
--Ashley Lai
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/