The file drivers/usb/musb/musb_core.c contains the code:

static DEVICE_ATTR(srp, 0644, NULL, musb_srp_store);

Is it correct to have NULL in the third argument for an attribute that can
be read?  Should the permission be 0444 instead?

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

Reply via email to