Skip to content

Commit

Permalink
Added version number (1.2) for msr module.
Browse files Browse the repository at this point in the history
Signed-off-by: Marty McFadden <mcfadden8@llnl.gov>
  • Loading branch information
mcfadden8 authored and Stephanie Labasan committed Apr 12, 2018
1 parent ffe4346 commit b5bdf8b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
7 changes: 2 additions & 5 deletions msr_batch.c
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,8 @@ static int msrbatch_apply_whitelist(struct msr_batch_array *oa)
/* Check for read-only case */
if (op->wmask == 0 && !op->isrdmsr)
{
if (!has_sys_rawio_cap)
{
pr_debug("MSR %x is read-only\n", op->msr);
op->err = err = -EACCES;
}
pr_debug("MSR %x is read-only\n", op->msr);
op->err = err = -EACCES;
}
}
}
Expand Down
3 changes: 2 additions & 1 deletion msr_entry.c
Original file line number Diff line number Diff line change
Expand Up @@ -433,5 +433,6 @@ static void __exit msr_exit(void)
module_exit(msr_exit)

MODULE_AUTHOR("H. Peter Anvin <hpa@zytor.com>");
MODULE_DESCRIPTION("x86 generic MSR driver");
MODULE_DESCRIPTION("x86 generic MSR driver (+LLNL Whitelist)");
MODULE_VERSION("1.2");
MODULE_LICENSE("GPL");

0 comments on commit b5bdf8b

Please sign in to comment.