> > I have the following diff applied on top of patch 2. Works with and > > without a parent device. I am not super happy casting 'identity' but > > since its u8-type is exported to userspace, I think we can't avoid it. > > Guenter, is this cast safe? Here is the diff: > > > I would think it is safe, but question is if it is it needed - ie do you see > a warning if it isn't there ? Presumably yes; if so, let's just do it. Yes, the compiler rightfully complains otherwise. Do you prefer resending only patch 2 or the whole series?