lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <51D2295E.8010601@huawei.com>
Date:	Tue, 2 Jul 2013 09:14:06 +0800
From:	Yijing Wang <wangyijing@...wei.com>
To:	Yijing Wang <wangyijing@...wei.com>
CC:	Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
	Forest Bond <forest@...ttletooquiet.net>,
	Jiri Kosina <trivial@...nel.org>,
	<linux-kernel@...r.kernel.org>, Hanjun Guo <guohanjun@...wei.com>,
	Devendra Naga <devendra.aaru@...il.com>,
	Marcos Paulo de Souza <marcos.souza.org@...il.com>,
	Bill Pemberton <wfp5p@...ginia.edu>,
	LKML <linux-kernel@...r.kernel.org>,
	Devendra Naga <devendra.aaru@...il.com>,
	Joe Perches <joe@...ches.com>,
	Marcos Paulo de Souza <marcos.souza.org@...il.com>
Subject: Re: [PATCH 4/6] vt6655/trivial: replace numeric with standard PM
 state macros

ping...?

On 2013/6/27 20:57, Yijing Wang wrote:
> Use standard PM state macros PCI_Dx instead of numeric 0/1/2..
> 
> Signed-off-by: Yijing Wang <wangyijing@...wei.com>
> Cc: Forest Bond <forest@...ttletooquiet.net>
> Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
> Cc: Jiri Kosina <trivial@...nel.org>
> Cc: Devendra Naga <devendra.aaru@...il.com>
> Cc :Joe Perches <joe@...ches.com>
> Cc: Marcos Paulo de Souza <marcos.souza.org@...il.com>
> Cc: Bill Pemberton <wfp5p@...ginia.edu>
> Cc: devel@...verdev.osuosl.org
> Cc: linux-kernel@...r.kernel.org
> ---
>  drivers/staging/vt6655/device_main.c |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/staging/vt6655/device_main.c b/drivers/staging/vt6655/device_main.c
> index 08b250f..7f36a71 100644
> --- a/drivers/staging/vt6655/device_main.c
> +++ b/drivers/staging/vt6655/device_main.c
> @@ -3370,8 +3370,8 @@ viawget_resume(struct pci_dev *pcid)
>  	PSMgmtObject  pMgmt = pDevice->pMgmt;
>  	int power_status;   // to silence the compiler
>  
> -	power_status = pci_set_power_state(pcid, 0);
> -	power_status = pci_enable_wake(pcid, 0, 0);
> +	power_status = pci_set_power_state(pcid, PCI_D0);
> +	power_status = pci_enable_wake(pcid, PCI_D0, 0);
>  	pci_restore_state(pcid);
>  	if (netif_running(pDevice->dev)) {
>  		spin_lock_irq(&pDevice->lock);
> 


-- 
Thanks!
Yijing

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ