Bug 200896

Summary: fifo_misc generates "ioctl sign-extension ioctl ffffffff8004667e" warnings
Product: Base System Reporter: Enji Cooper <ngie>
Component: kernAssignee: Craig Rodrigues <rodrigc>
Status: Closed FIXED    
Severity: Affects Some People CC: rodrigc
Priority: --- Flags: ngie: mfc-stable10+
ngie: mfc-stable9-
ngie: mfc-stable8-
Version: CURRENT   
Hardware: Any   
OS: Any   

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.