Project

General

Profile

Bug #7971

Commit for issue 1237 introduced lint

Added by Sašo Kiselkov over 2 years ago. Updated almost 2 years ago.

Status:
New
Priority:
High
Category:
networking
Start date:
2017-03-15
Due date:
% Done:

100%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage

Description

The commit for issue 1237 "port Intel WifiLink 4965/100/1000/2000/5000/6000 driver" introduces some trivial lint in if_iwn.c due to missing (void) casts of the return values of memcpy and memset.

"/var/jenkins/root/workspace/regression-steps/02-checkout/openzfs/usr/src/uts/common/io/iwn/if_iwn.c", line 2052: warning: function returns value which is sometimes ignored: memset (E_FUNC_RET_MAYBE_IGNORED2)
"/var/jenkins/root/workspace/regression-steps/02-checkout/openzfs/usr/src/uts/common/io/iwn/if_iwn.c", line 2638: warning: function returns value which is sometimes ignored: memcpy (E_FUNC_RET_MAYBE_IGNORED2)


Related issues

Related to illumos gate - Bug #8921: iwn: remove lint supportClosed2017-12-14

Actions

History

#2

Updated by Sašo Kiselkov over 2 years ago

Can admins please close this bug? The issue report was bogus, it seems to be only brought about when building the 6363 trim commit. The issue will be resolved there.

#3

Updated by Marcel Telka almost 2 years ago

  • Description updated (diff)
#4

Updated by Marcel Telka almost 2 years ago

  • Related to Bug #8921: iwn: remove lint support added

Also available in: Atom PDF