summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/io
diff options
context:
space:
mode:
authorDan McDonald <danmcd@joyent.com>2021-04-07 15:21:41 -0400
committerDan McDonald <danmcd@joyent.com>2021-04-07 15:21:41 -0400
commit6217dab3ea0ce7eb1b96394433a940cbc96a3fde (patch)
treed07403b39b0c9477a0000824f06d728b5e810a4c /usr/src/uts/common/io
parentd68584140ba989b2a32d625ed4391fc2a93c8b2e (diff)
parentc7b656fc7125adc5888ce934f1a3433da4b1bbc5 (diff)
downloadillumos-joyent-release-20210408.tar.gz
[illumos-gate merge]release-20210408
commit c7b656fc7125adc5888ce934f1a3433da4b1bbc5 13601 ksh shell lint misleading 13631 shell lint about variable expansion in arithmetic expressions is inscrutable commit 11326df80789c71d3ac24d5ff3da2c1c0617961a 13697 zfs change-key does not follow clones, data loss ensues commit 8f097fe6cf8dff8db1e1c43d349b305633044d40 13628 sppptun: array subscript 0 is outside array bounds
Diffstat (limited to 'usr/src/uts/common/io')
-rw-r--r--usr/src/uts/common/io/ppp/sppptun/sppptun_impl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/io/ppp/sppptun/sppptun_impl.h b/usr/src/uts/common/io/ppp/sppptun/sppptun_impl.h
index 58480ae60c..ab879959d8 100644
--- a/usr/src/uts/common/io/ppp/sppptun/sppptun_impl.h
+++ b/usr/src/uts/common/io/ppp/sppptun/sppptun_impl.h
@@ -150,7 +150,7 @@ struct tuncl_s {
};
#define TO_TLL(p) \
- ((tunll_t *)((caddr_t)(p) - offsetof(tunll_t, tll_next)))
+ ((tunll_t *)((uintptr_t)(p) - offsetof(tunll_t, tll_next)))
#define TLLF_NOTLOWER 0x00000001 /* never set */
#define TLLF_CLOSING 0x00000002 /* driver detach initiated */