diff options
author | Jerry Jelinek <jerry.jelinek@joyent.com> | 2019-04-10 12:02:07 +0000 |
---|---|---|
committer | Jerry Jelinek <jerry.jelinek@joyent.com> | 2019-04-10 12:02:07 +0000 |
commit | d8075b7816cce899d8e5b43d151dd0e44f758855 (patch) | |
tree | f71120151f80d35258c72ffb14964ec75548ecee /usr/src/uts/common/io/pm.c | |
parent | 859ebfe200b305925f31fe30e4fc87ab9b8ca79a (diff) | |
parent | 1aa5f89221657a92fc85060db4d7cc17b91007e1 (diff) | |
download | illumos-joyent-d8075b7816cce899d8e5b43d151dd0e44f758855.tar.gz |
[illumos-gate merge]
commit 1aa5f89221657a92fc85060db4d7cc17b91007e1
10674 profile: NULL pointer errors
commit afac708dc1fa673063127e6091e0f29b33739e9e
10673 ixgbe: NULL pointer errors
commit 87f90db88e11450dae14066aad4712c4798415c2
10671 bnxe: NULL pointer errors
commit ae6f9789e23baaa0d8a3f14c37c068824b33f5e6
10670 i40e: NULL pointer errors
commit f52680fe552c1a5f149342ab191a00a072db59c5
10668 e1000g: NULL pointer errors
commit 40a733010c7e8c82a55807f59f6e912e51355d2a
10664 vmxnet3s: NULL pointer errors
commit e59325b74ca0760391c4b4d3acd8d3294ffc521a
10663 stmf_sbd: NULL pointer errors
commit 1f99504ab52e6927794513144ed20e8c0ba5ea6e
10662 iscsit: NULL pointer errors
commit 64a6bd963243a20fc11b593b7bec96ea000f8bf6
10660 swrand: NULL pointer errors
commit d659c726b2a72b51ac2dc9a7f6878463fc070c87
10659 sha2: NULL pointer errors
commit 2667222682da9a362b1246a1e39cdaf1f38cb56e
10658 kiconv_ja: NULL pointer errors
commit 986667e8344d0f6a3e45df8c7ddcc62f747e3793
10650 timerfd: NULL pointer errors
commit 0f36d2f14c16f2aa8dbbd72241001f534f1ca1b2
10666 amd8111s: NULL pointer errors
commit 4dae08142020c6a787edca246244aa744a986710
10667 ipmi: NULL pointer errors
commit 4138d84ec424020fc615b6aa351408e1efb98a38
10646 softmac: NULL pointer errors
commit 95369d7b997316a0170a6c243bfbfc61d1258fb5
10634 qlge: NULL pointer errors
commit 3aedb073327854aba1e08f2cd606208552e0ea55
10632 pm: NULL pointer errors
commit 490f8d7888f182c08d8e83e38cd281c8f867b0a3
10682 strftime(3c): Replace (char *)0 by NULL
commit 12e9eaaed8879c4b56117e0ea40df0a2d2e16b0e
10625 physmem: NULL pointer error
commit d5f5d51371113b7fe3bc52690ff232a5b6719bfd
10672 igb: NULL pointer issues
commit 5edb9b5616c939f80239ac527226023f79962708
10693 mmp test profiles incorrectly include mmp_write_distribution test
commit 03d81b69f83828ec5d3e0fe05c00d07699706d2e
10681 udp.c: udp_reuseaddr
commit 9c3cf8b30473a1ce5e6f5e1b75844daf78ae0309
10702 loader: console.c inconsistent indenting
Diffstat (limited to 'usr/src/uts/common/io/pm.c')
-rw-r--r-- | usr/src/uts/common/io/pm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/uts/common/io/pm.c b/usr/src/uts/common/io/pm.c index b9f146bf2a..7bbc43b915 100644 --- a/usr/src/uts/common/io/pm.c +++ b/usr/src/uts/common/io/pm.c @@ -68,7 +68,7 @@ #define PM_IDLEDOWN_TIME 10 #define MAXSMBIOSSTRLEN 64 /* from SMBIOS spec */ -#define MAXCOPYBUF (MAXSMBIOSSTRLEN + 1) +#define MAXCOPYBUF (MAXSMBIOSSTRLEN + 1) extern kmutex_t pm_scan_lock; /* protects autopm_enable, pm_scans_disabled */ extern kmutex_t pm_clone_lock; /* protects pm_clones array */ @@ -703,7 +703,7 @@ pm_timeout_idledown(void) static int pm_chpoll(dev_t dev, short events, int anyyet, short *reventsp, - struct pollhead **phpp) + struct pollhead **phpp) { extern struct pollhead pm_pollhead; /* common/os/sunpm.c */ int clone; @@ -1085,7 +1085,7 @@ pm_ioctl(dev_t dev, int cmd, intptr_t arg, int mode, cred_t *cr, int *rval_p) if (pcip->inargs & INDATASTRING) { ASSERT(!(pcip->inargs & INDATAINT)); ASSERT(pcip->deptype == DEP); - if (req32.data != NULL) { + if (req32.data != 0) { if (copyinstr((void *)(uintptr_t) req32.data, dep, deplen, NULL)) { PMD(PMD_ERROR, ("ioctl: %s: " |