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]
Date:	Thu, 16 Jul 2009 23:33:12 +0200
From:	Michal Schmidt <mschmidt@...hat.com>
To:	Matthew Garrett <mjg@...hat.com>
Cc:	linux-kernel@...r.kernel.org, linux-acpi@...r.kernel.org,
	rpurdie@...ys.net, lenb@...nel.org, rui.zhang@...el.com,
	corentincj@...aif.net, Matthew Garrett <mjg@...hat.com>
Subject: Re: [PATCH 1/3] backlight: Allow drivers to update the core, and
 generate events on changes

Dne Tue, 14 Jul 2009 17:06:02 +0100 Matthew Garrett napsal:
> +static void backlight_generate_event(struct backlight_device *bd,
> +				     enum backlight_update_reason
> reason) +{
> +	char *envp[2];
> +
> +	switch (reason) {
> +	case BACKLIGHT_UPDATE_SYSFS:
> +		envp[0] = "SOURCE=sysfs";
> +		break;
> +	case BACKLIGHT_UPDATE_HOTKEY:
> +		envp[0] = "SOURCE=hotkey";
> +		break;
> +	default:
> +		envp[0] = "SORUCE=unknown";

There's a typo here. s/SORUCE/SOURCE/

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