[nvdrv] Ignore but don't reject offset and size uses
All checks were successful
eden-license / license-header (pull_request) Successful in 29s
All checks were successful
eden-license / license-header (pull_request) Successful in 29s
It seems after investigation and testing that these are in fact not errors and are expected behaviour. So logging has been changed from error to debug and no longer returns a bad perameter.
This commit is contained in:
parent
51b2ba0794
commit
514be70f60
1 changed files with 3 additions and 4 deletions
|
@ -168,10 +168,9 @@ NvResult nvhost_gpu::SetErrorNotifier(IoctlSetErrorNotifier& params) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (params.offset != 0 || params.size != 0) {
|
if (params.offset != 0 || params.size != 0) {
|
||||||
LOG_ERROR(Service_NVDRV,
|
LOG_DEBUG(Service_NVDRV,
|
||||||
"called, SetErrorNotifier received non-zero offset/size (ignored): offset=0x{:X}, size=0x{:X}",
|
"called, SetErrorNotifier called with non-zero offset/size (ignored): offset=0x{:X}, size=0x{:X}",
|
||||||
params.offset, params.size);
|
params.offset, params.size);
|
||||||
return NvResult::BadParameter;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
LOG_DEBUG(Service_NVDRV, "called, SetErrorNotifier initialized, mem=0x{:X}", params.mem);
|
LOG_DEBUG(Service_NVDRV, "called, SetErrorNotifier initialized, mem=0x{:X}", params.mem);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue