The branch main has been updated by royger:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=f713a5b37ecb831941dcac0db163e186b5d59638

commit f713a5b37ecb831941dcac0db163e186b5d59638
Author:     Roger Pau Monné <[email protected]>
AuthorDate: 2021-01-04 18:03:09 +0000
Commit:     Roger Pau Monné <[email protected]>
CommitDate: 2021-01-11 15:14:59 +0000

    xen/privcmd: make some integers unsigned
    
    There's no reason for them to be signed. No functional change.
    
    Sponsored by:   Citrix Systems R&D
---
 sys/dev/xen/privcmd/privcmd.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/sys/dev/xen/privcmd/privcmd.c b/sys/dev/xen/privcmd/privcmd.c
index 04dc9e883071..24bce97e9b3d 100644
--- a/sys/dev/xen/privcmd/privcmd.c
+++ b/sys/dev/xen/privcmd/privcmd.c
@@ -221,7 +221,8 @@ static int
 privcmd_ioctl(struct cdev *dev, unsigned long cmd, caddr_t arg,
              int mode, struct thread *td)
 {
-       int error, i;
+       int error;
+       unsigned int i;
 
        switch (cmd) {
        case IOCTL_PRIVCMD_HYPERCALL: {
@@ -263,7 +264,8 @@ privcmd_ioctl(struct cdev *dev, unsigned long cmd, caddr_t 
arg,
                struct xen_add_to_physmap_range add;
                xen_ulong_t *idxs;
                xen_pfn_t *gpfns;
-               int *errs, index;
+               int *errs;
+               unsigned int index;
                struct privcmd_map *umap;
                uint16_t num;
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/dev-commits-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to