summaryrefslogtreecommitdiffstats
path: root/module/zfs
diff options
context:
space:
mode:
Diffstat (limited to 'module/zfs')
-rw-r--r--module/zfs/fm.c2
-rw-r--r--module/zfs/zfs_znode.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/module/zfs/fm.c b/module/zfs/fm.c
index 2a425a740..a1069d140 100644
--- a/module/zfs/fm.c
+++ b/module/zfs/fm.c
@@ -652,7 +652,7 @@ zfs_zevent_next(zfs_zevent_t *ze, nvlist_t **event, uint64_t *event_size,
ze->ze_zevent = ev;
list_insert_head(&ev->ev_ze_list, ze);
- nvlist_dup(ev->ev_nvl, event, KM_SLEEP);
+ (void) nvlist_dup(ev->ev_nvl, event, KM_SLEEP);
*dropped = ze->ze_dropped;
ze->ze_dropped = 0;
out:
diff --git a/module/zfs/zfs_znode.c b/module/zfs/zfs_znode.c
index 12dada4fc..647ce48dc 100644
--- a/module/zfs/zfs_znode.c
+++ b/module/zfs/zfs_znode.c
@@ -456,7 +456,7 @@ zfs_inode_set_ops(zfs_sb_t *zsb, struct inode *ip)
*/
case S_IFCHR:
case S_IFBLK:
- sa_lookup(ITOZ(ip)->z_sa_hdl, SA_ZPL_RDEV(zsb), &rdev,
+ (void) sa_lookup(ITOZ(ip)->z_sa_hdl, SA_ZPL_RDEV(zsb), &rdev,
sizeof (rdev));
/*FALLTHROUGH*/
case S_IFIFO: