[PATCH] pcie: aspm: use FWTS_ROOT_PRIV flag

Colin Ian King colin.king at canonical.com
Tue Feb 7 11:51:22 UTC 2012


On 07/02/12 10:39, Alex Hung wrote:
> Signed-off-by: Alex Hung<alex.hung at canonical.com>
> ---
>   src/pci/aspm/aspm.c |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/src/pci/aspm/aspm.c b/src/pci/aspm/aspm.c
> index 0f062f5..db82718 100644
> --- a/src/pci/aspm/aspm.c
> +++ b/src/pci/aspm/aspm.c
> @@ -75,4 +75,4 @@ static fwts_framework_ops aspm_ops = {
>   	.minor_tests = aspm_tests
>   };
>
> -FWTS_REGISTER(aspm,&aspm_ops, FWTS_TEST_ANYTIME, FWTS_BATCH);
> +FWTS_REGISTER(aspm,&aspm_ops, FWTS_TEST_ANYTIME, FWTS_BATCH | FWTS_ROOT_PRIV);

Yep, that's required! Good find.

Acked-by: Colin King <colin.king at canonical.com>





More information about the fwts-devel mailing list