Re: [PATCH] security_dac: Use virDomainTPMBackendType when possible

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/19/2014 11:39 AM, Michal Privoznik wrote:
> It's certainly useful to use enum typecast in switch().
> Currently, it's not used only in two places:
> virSecurityDACSetSecurityTPMFileLabel and
> virSecurityDACRestoreSecurityTPMFileLabel.
> 
> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> ---
>  src/security/security_dac.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

The tpm type is declared as enum virDomainTPMBackendType, no need to typecast it.

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]