Re: [PATCH 3/3] usb: Change persist_enabled when attribute avoid_reset_quirk is modified

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

 



On Monday 30 July 2012 10:39:50 Alan Stern wrote:
> > this leads to behavior that is not easy to predict or understand.
> > It would be cleaner to leave the flag alone and check for the quirk
> > in addition for the flag when the check is done.
> 
> I disagree.  Leaving the flag set but then not implementing the 
> persist behavior would be confusing also.  Maybe even worse.

But we cannot guarantee persistance anyway. We can only try.
But trying makes no sense if we are sure to fail.

In addition, we even undermine the file permission to a small
extent if we allow one attribute to alter another attribute.

	Regards
		Oliver

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