summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/syscall/lgrpsys.c
diff options
context:
space:
mode:
authorJerry Jelinek <jerry.jelinek@joyent.com>2019-02-21 16:02:04 +0000
committerJerry Jelinek <jerry.jelinek@joyent.com>2019-02-21 16:02:04 +0000
commit15c5e8a21e5a254e3ccfda29deff00097f655289 (patch)
tree8bcb6d80e87575f392f1d05c09dca63f6a76f193 /usr/src/uts/common/syscall/lgrpsys.c
parent50c68d602321e451c36464d5c7d903c892e2f775 (diff)
parent7957da45b8e66b8cd6e917ac6bd8965817d7ef06 (diff)
downloadillumos-joyent-15c5e8a21e5a254e3ccfda29deff00097f655289.tar.gz
[illumos-gate merge]
commit 7957da45b8e66b8cd6e917ac6bd8965817d7ef06 10144 BZ2_bzDecompressReset() gets NULL check wrong commit a8b4e7c71a6c1ef07e77c48dbb92fcdc8624266d 10424 uts: NULL pointer errors in DEBUG build commit f1ccfd86d00d3a46fa8dc85b88860e10a3ad1019 10423 bridge: cast between incompatible function types commit fb05fcb92e04bd3719e79f64be4c3432c2f1a119 10422 conskbd: cast between incompatible function types commit 98bfe312451089fb99dd3ccde47363ce4d275459 10420 consms: cast between incompatible function types commit 336380cbc80cdb79336de7f2b9a5d418c0991618 10383 myri10ge: NULL pointer errors commit 0333c43738b2582094bb2644c0a1f4211751447b 10364 vnode: cast between incompatible function types commit af34582fe571c99d9f74acf7c271e26c744fef5b 10416 zoneadmd leaves trailing comma on link address commit ffe245b40fe1731e6f0ea5c097a74eb78bc839e2 10415 Memory leak in ipadm_zone_get_network() commit b9e319bfd413f32cc39ec7b8ccc527f35712da7f 10419 ntxn: cast between incompatible function types commit 4fa33403ece8f42c56cba2b672d10f6ab4dc32cd 10418 chxge: cast between incompatible function types commit 888d78e951c54427c93b8ef788383952b9c63687 10410 kmdb: set terminal window size commit 3ab29d2187aaeb14feecd145834ac2f151dc822c 10378 agpgart: NULL pointer errors commit 7e12ceb3ebc63aeb71e91b496032ca22ca55f660 10376 uts: NULL pointer issues in genunix commit 7e897d1fc847b22dc338da9a5a59dae0cd8765de 10373 vm_anon: cast between incompatible function types commit 735c423ad1b2b03125a2c8d3840540d6b17f7dbf 10372 vmem: cast between incompatible function types commit b6d49c8438f976a7c4a6c9390228076c8f132847 10371 vfs: cast between incompatible function types commit d0cb1fb92629bc0283c88d4719df7285c1612700 9425 allow channel programs to be stopped via signals commit 9d1587b49e4692b8d6652e6c0b113a53b1af5313 10124 smatch fixes for cryptoadm Conflicts: usr/src/cmd/zoneadmd/vplat.c
Diffstat (limited to 'usr/src/uts/common/syscall/lgrpsys.c')
-rw-r--r--usr/src/uts/common/syscall/lgrpsys.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/uts/common/syscall/lgrpsys.c b/usr/src/uts/common/syscall/lgrpsys.c
index be60d1a445..34bd08fd12 100644
--- a/usr/src/uts/common/syscall/lgrpsys.c
+++ b/usr/src/uts/common/syscall/lgrpsys.c
@@ -182,7 +182,7 @@ meminfo(int addr_count, struct meminfo *mip)
out_array[i] = lgrp->lgrp_id;
val_array[i] = VALID_ADDR | VALID_REQ;
} else {
- out_array[i] = NULL;
+ out_array[i] = 0;
val_array[i] = 0;
}
}
@@ -1857,7 +1857,7 @@ lgrp_snapshot_copy32(caddr32_t buf, size32_t bufsize)
snap_size = snap_hdr_size + info_size + cpuids_size + bitmasks_size +
lats_size;
- if (buf == NULL || bufsize <= 0) {
+ if (buf == 0 || bufsize <= 0) {
return (snap_size);
}