Re: [PATCH] PCI patches for 2.6.10

From: Matt Mackall
Date: Tue Jan 11 2005 - 17:57:22 EST


On Mon, Jan 10, 2005 at 09:20:55AM -0800, Greg KH wrote:
> ChangeSet 1.1938.439.44, 2005/01/07 10:32:39-08:00, domen@xxxxxxxxxxxx
>
> [PATCH] hotplug/acpiphp_ibm: module_param fix
>
> File permissins should be octal number.

> -module_param(debug, bool, 644);
> +module_param(debug, bool, 0644);

Perhaps the sysfs code could do:

/* did we forget to write in octal? */
BUG_ON(mode > 0666 || mode & 0111);

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