On 07/04/21 07:20, Christophe Leroy wrote:

+    struct sev_data_init data;

struct sev_data_init data = {0, 0, 0, 0};

Having to count the number of items is suboptimal. The alternative could be {} (which however is technically not standard C), {0} (a bit mysterious, but it works) and memset. I kept the latter to avoid touching the submitter's patch too much.


Reply via email to