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] [day] [month] [year] [list]
Date:	Mon, 07 Mar 2011 01:28:29 +0530
From:	"Koul, Vinod" <vinod.koul@...el.com>
To:	Rakib Mullick <rakib.mullick@...il.com>
Cc:	LKML <linux-kernel@...r.kernel.org>,
	Andrew Morton <akpm@...ux-foundation.org>,
	Dan Williams <dan.j.williams@...el.com>
Subject: Re: [PATCH] drivers, pch_dma: Fix warning when CONFIG_PM=n.

On Sun, 2011-03-06 at 17:26 +0600, Rakib Mullick wrote:
> When CONFIG_PM=n, we get the following warning:
> 
> drivers/dma/pch_dma.c:741: warning: ‘pch_dma_suspend’ defined but not used
> drivers/dma/pch_dma.c:755: warning: ‘pch_dma_resume’ defined but not used
> 
> To fix it, wrap pch_dma_{suspend,resume} and
> pch_dma_{save,restore}_regs functions with CONFIG_PM.
> 
> Signed-off-by: Rakib Mullick <rakib.mullick@...il.com>
> ---
Applied, thanks

-- 
~Vinod

--
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