Actions
Bug #6389
closedUse (void) memcpy(), not (void *) memcpy()
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Start date:
2015-10-24
Due date:
% Done:
100%
Estimated time:
Difficulty:
Medium
Tags:
needs-triage
Gerrit CR:
External Bug:
Description
This was caught by Clang on Linux. Clearly the intent of this code was
to explicitly ignore the return value.
https://github.com/zfsonlinux/zfs/commit/f9f431cd28ed6a78a2659758ce4a83c4c76fc3a1
https://github.com/openzfs/openzfs/pull/12
Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Updated by Electric Monk almost 8 years ago
- Status changed from New to Closed
- % Done changed from 0 to 100
git commit 286eb3ed9ae6749df0c20c801277beae2229a179
commit 286eb3ed9ae6749df0c20c801277beae2229a179 Author: Richard Yao <ryao@gentoo.org> Date: 2015-10-31T00:11:09.000Z 6389 Use (void) memcpy(), not (void *) memcpy() Reviewed by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed by: Matthew Ahrens <mahrens@delphix.com> Reviewed by: Dan Kimmel <dan.kimmel@delphix.com> Approved by: Robert Mustacchi <rm@joyent.com>
Actions