lkml.org 
[lkml]   [2017]   [Sep]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [Part1 PATCH v4 02/17] x86/mm: Add Secure Encrypted Virtualization (SEV) support
From
Date


On 09/17/2017 09:02 AM, Borislav Petkov wrote:
...

>>
>> +unsigned int sev_enabled __section(.data) = 0;
>
> static.
>

Will covert to static in next rev.

...

>
>> -static inline u64 sme_get_me_mask(void)
>> +static inline bool mem_encrypt_active(void)
>> {
>> - return sme_me_mask;
>> + return !!sme_me_mask;
>
> As before, you don't need the !!.
>

Will fix in next rev.


thanks


\
 
 \ /
  Last update: 2017-09-26 21:07    [W:0.094 / U:46.192 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site