Return errors for unsupported operations on pcic_get_res_flags rather
than 0.
This commit is contained in:
parent
87c53da12e
commit
180c9afb62
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=76544
@ -1303,7 +1303,7 @@ pcic_get_res_flags(device_t bus, device_t child, int restype, int rid,
|
||||
default:
|
||||
err = EOPNOTSUPP;
|
||||
}
|
||||
return (0);
|
||||
return (err);
|
||||
}
|
||||
|
||||
static int
|
||||
|
Loading…
Reference in New Issue
Block a user