Skip to content

Commit

Permalink
SVSM/sev/utils: Suppress clippy::bad_bit_mask errors
Browse files Browse the repository at this point in the history
The bitflags are intentionally defined the way they are, so suppress
the warnings about them.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
  • Loading branch information
joergroedel committed Aug 25, 2023
1 parent a65f897 commit a94d48d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/sev/utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
//
// Author: Joerg Roedel <jroedel@suse.de>

// For bitflags definitions
#![allow(clippy::bad_bit_mask)]

use crate::address::{Address, VirtAddr};
use crate::error::SvsmError;
use crate::types::{GUEST_VMPL, PAGE_SIZE, PAGE_SIZE_2M};
Expand Down

0 comments on commit a94d48d

Please sign in to comment.