Re: [PATCH 14/21] ARM: tegra: irq: Add debugfs file to show wakeirqs
From: Stephen Boyd
Date: Mon Dec 06 2010 - 16:07:41 EST
On 12/05/2010 03:09 PM, Colin Cross wrote:
> +static int __init tegra_irq_debug_init(void)
> +{
> + struct dentry *d;
> +
> + d = debugfs_create_file("wake_irq", 0755, NULL, NULL,
> + &tegra_wake_irq_debug_fops);
Why not use S_IRUGO? And why is this file executable?
--
Sent by an employee of the Qualcomm Innovation Center, Inc.
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum.
--
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/