> The philosophy I used below is to focus more on errors which would be > returned as -EINVAL -- to provide a bit more detail. > Also, I wanted the facility to be on-off switchable at run-time > (i.e., module-parameter controlled). Yes, this looks pretty good to me. - R.