question about drivers/usb/musb/musb_core.c

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

 



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