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]
Message-ID: <87egccsd08.fsf@eliezer.anholt.net>
Date:	Tue, 16 Feb 2016 10:53:27 -0800
From:	Eric Anholt <eric@...olt.net>
To:	dri-devel@...ts.freedesktop.org
Cc:	linux-kernel@...r.kernel.org, David Airlie <airlied@...ux.ie>
Subject: Re: [PATCH 2/3] drm/vc4: Enable runtime PM.

Eric Anholt <eric@...olt.net> writes:
> +#ifdef CONFIG_PM_SLEEP
> +static int vc4_v3d_runtime_suspend(struct device *dev)
> +{
> +	struct vc4_v3d *v3d = dev_get_drvdata(dev);
> +	struct vc4_dev *vc4 = v3d->vc4;
> +
> +	vc4_irq_uninstall(vc4->dev);
> +
> +	return 0;
> +}
> +
> +static int vc4_v3d_runtime_resume(struct device *dev)
> +{
> +	struct vc4_v3d *v3d = dev_get_drvdata(dev);
> +	struct vc4_dev *vc4 = v3d->vc4;
> +
> +	vc4_v3d_init_hw(vc4->dev);
> +	vc4_irq_postinstall(vc4->dev);
> +
> +	return 0;
> +}
> +#endif

kbuild test robot caught that this #ifdef should have been CONFIG_PM,
not CONFIG_PM_SLEEP.  Fixed in v2.

Download attachment "signature.asc" of type "application/pgp-signature" (819 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ