summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDamien Zammit <damien@zamaudio.com>2021-03-07 11:13:53 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2021-03-07 11:13:53 +0100
commit3463fcd26a392eb414794be409a3a640d071af77 (patch)
tree08a9e4c0e82b80d879bfd8a9c2f9bf4528b0cd62
parent812c1a4e21e9eefbc2b036eac6c910f1f137ad55 (diff)
Typo
* pci-arbiter/pci-ops.c: Fix typo in comment.
-rw-r--r--pci-arbiter/pci-ops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pci-arbiter/pci-ops.c b/pci-arbiter/pci-ops.c
index 3346e55a..72720832 100644
--- a/pci-arbiter/pci-ops.c
+++ b/pci-arbiter/pci-ops.c
@@ -39,12 +39,12 @@ check_permissions (struct protid *master, int flags)
node = master->po->np;
e = node->nn->ln;
- /* Check wheter the user has permissions to access this node */
+ /* Check whether the user has permissions to access this node */
err = entry_check_perms (master->user, e, flags);
if (err)
return err;
- /* Check wheter the request has been sent to the proper node */
+ /* Check whether the request has been sent to the proper node */
if (e->domain != 0 /* Only domain 0 can be accessed by I/O ports */
|| e->bus < 0 || e->dev < 0 || e->func < 0)
err = EINVAL;