[PATCH] pcie: aspm: use FWTS_ROOT_PRIV flag

Keng-Yü Lin kengyu at canonical.com
Wed Feb 8 07:27:20 UTC 2012


On Tue, Feb 7, 2012 at 7:51 PM, Colin Ian King <colin.king at canonical.com> wrote:
> 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>
>
Acked-by: Keng-Yu Lin <kengyu at canonical.com>




More information about the fwts-devel mailing list