Bug 200896 - fifo_misc generates "ioctl sign-extension ioctl ffffffff8004667e" warnings
Summary: fifo_misc generates "ioctl sign-extension ioctl ffffffff8004667e" warnings
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: Craig Rodrigues
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-16 04:45 UTC by Enji Cooper
Modified: 2015-10-24 23:30 UTC (History)
1 user (show)

See Also:
ngie: mfc-stable10+
ngie: mfc-stable9-
ngie: mfc-stable8-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Enji Cooper freebsd_committer freebsd_triage 2015-06-16 04:45:48 UTC
I see this regularly in the Jenkins results:
https://jenkins.freebsd.org/job/FreeBSD_HEAD-tests/1108/console

sys/fifo/fifo_misc:main  ->  WARNING pid 60945 (fifo_misc): ioctl sign-extension ioctl ffffffff8004667e
WARNING pid 60945 (fifo_misc): ioctl sign-extension ioctl ffffffff8004667e
WARNING pid 60945 (fifo_misc): ioctl sign-extension ioctl ffffffff8004667e
WARNING pid 60945 (fifo_misc): ioctl sign-extension ioctl ffffffff8004667e
WARNING pid 60945 (fifo_misc): ioctl sign-extension ioctl ffffffff8004667d
WARNING pid 60945 (fifo_misc): ioctl sign-extension ioctl ffffffff8004667d
WARNING pid 60945 (fifo_misc): ioctl sign-extension ioctl ffffffff8004667d
WARNING pid 60945 (fifo_misc): ioctl sign-extension ioctl ffffffff8004667d

Need to figure out where what the root cause is for this warning.
Comment 1 commit-hook freebsd_committer freebsd_triage 2015-07-26 14:47:06 UTC
A commit references this bug:

Author: rodrigc
Date: Sun Jul 26 14:46:43 UTC 2015
New revision: 285891
URL: https://svnweb.freebsd.org/changeset/base/285891

Log:
  Pass unsigned long argument to ioctl().

  Eliminates "ioctl sign-extension" warnings.

  PR:		200896

Changes:
  head/tests/sys/fifo/fifo_misc.c
Comment 2 commit-hook freebsd_committer freebsd_triage 2015-08-11 01:52:40 UTC
A commit references this bug:

Author: rodrigc
Date: Tue Aug 11 01:51:39 UTC 2015
New revision: 286612
URL: https://svnweb.freebsd.org/changeset/base/286612

Log:
  Merge r285891:

  Pass unsigned long argument to ioctl().

  Eliminates "ioctl sign-extension" warnings.

  PR:             200896

Changes:
_U  stable/10/
  stable/10/tests/sys/fifo/fifo_misc.c
Comment 3 Enji Cooper freebsd_committer freebsd_triage 2015-10-17 09:17:14 UTC
Thanks Craig for the fix!
Comment 4 Enji Cooper freebsd_committer freebsd_triage 2015-10-24 23:30:45 UTC
Closing bug because the issue was relatively benign, so fixing on stable/9 isn't needed.