Re: [PATCH v3 5/6] usb: interface authorization: SysFS part of USB interface authorization.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 17 Jun 2015, Stefan Koch wrote:

> There is an attribute for each interface to allow (1) or deny (0) it:
> /sys/bus/usb/devices/*-*:*.*/authorized
> 
> Signed-off-by: Stefan Koch <skoch@xxxxxxx>

> +static struct device_attribute dev_attr_interface_authorized =
> +		__ATTR_IGNORE_LOCKDEP(authorized, S_IRUGO | S_IWUSR,
> +		interface_authorized_show, interface_authorized_store);

Why did you use _IGNORE_LOCKDEP?  Is it really necessary?

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux