Illumos/gate 6721053usr/src/uts/i86pc/os fakebop.c

10568 bop_trap() should report %cr2
Reviewed by: Jerry Jelinek <jerry.jelinek at joyent.com>
Reviewed by: Robert Mustacchi <rm at joyent.com>
Reviewed by: Jason King <jason.brian.king at gmail.com>
Reviewed by: Toomas Soome <tsoome at me.com>
Approved by: Gordon Ross <gwr at nexenta.com>

Illumos/gate 679c9deusr/src/uts/common/sys pcie_impl.h, usr/src/uts/common/sys/ib/clients/eoib eib_impl.h enx_impl.h

10805 Fix for 10687 can be improved
Reviewed by: Toomas Soome <tsoome at me.com>
Reviewed by: Gergő Doma <domag02 at gmail.com>
Approved by: Gordon Ross <gwr at nexenta.com>

Illumos/gate 238e18ausr/src/common/bzip2 bzlib.c decompress.c

10744 bzip2: smatch cleanup
Reviewed by: Gergő Doma <domag02 at gmail.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate 8af61ecusr/src/uts/common/io/qede qede_main.c qede_version.h

10669 qede: NULL pointer errors
Reviewed by: Andy Stormont <astormont at racktopsystems.com>
Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth at skylime.net>
Reviewed by: Toomas Soome <tsoome at me.com>
Reviewed by: Gergő Doma <domag02 at gmail.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate a08b136usr/src/boot/sys/boot Makefile.inc, usr/src/boot/sys/boot/i386/pxeldr Makefile

10828 loader: smatch should ignore .S files
Reviewed by: Andy Stormont <astormont at racktopsystems.com>
Reviewed by: John Levon <john.levon at joyent.com>
Reviewed by: Gergő Doma <domag02 at gmail.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate 0605ac6usr/src/uts/i86pc/io/ppm acpisleep.c

10794 acpippm: NULL pointer errors
Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth at skylime.net>
Reviewed by: Robert Mustacchi <rm at joyent.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate 5ffc253usr/src/uts/i86pc/io/apix apix.c, usr/src/uts/i86pc/io/pcplusmp apic_common.c

10793 apix: NULL pointer errors
Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth at skylime.net>
Reviewed by: Robert Mustacchi <rm at joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney at joyent.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate 446c407usr/src/cmd/mdb/common/modules/disk_label disk_label.c, usr/src/cmd/mdb/intel/amd64 Makefile

10569 MDB module for disk labelling would be useful
Reviewed by: Jerry Jelinek <jerry.jelinek at joyent.com>
Reviewed by: Robert Mustacchi <rm at joyent.com>
Reviewed by: Toomas Soome <tsoome at me.com>
Approved by: Richard Lowe <richlowe at richlowe.net>

Illumos/gate 9b8f194usr/src/cmd/file magicutils.c file.c

10476 file(1) could be smatch clean
Reviewed by: Toomas Soome <tsoome at me.com>
Reviewed by: Hans Rosenfeld <rosenfeld at grumpf.hope-2000.org>
Reviewed by: Robert Mustacchi <rm at joyent.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate b6a0e2cusr/src/cmd/file elf_read.c, usr/src/cmd/sgs/libld/common args.c syms.c

10366 ld(1) should support GNU-style linker sets
10581 ld(1) should know kernel modules are a thing
Reviewed by: Toomas Soome <tsoome at me.com>
Reviewed by: Hans Rosenfeld <rosenfeld at grumpf.hope-2000.org>
Reviewed by: Robert Mustacchi <rm at joyent.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate ab65fd2usr/src/uts/intel/genunix Makefile, usr/src/uts/sun4u/genunix Makefile

10593 illumos build should not use kernel modules as link-editor input
Reviewed by: Toomas Soome <tsoome at me.com>
Reviewed by: Hans Rosenfeld <rosenfeld at grumpf.hope-2000.org>
Reviewed by: Robert Mustacchi <rm at joyent.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate c524b4fusr/src/cmd/sgs/libld/common syms.c update.c, usr/src/cmd/sgs/packages/common SUNWonld-README

10346 ld(1) should not reduce symbol visibility of COMDAT symbols when producing 
relocatable objects
Reviewed by: Toomas Soome <tsoome at me.com>
Reviewed by: Robert Mustacchi <rm at joyent.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate 32e09e1usr/src Makefile.master, usr/src/cmd/cmd-inet/usr.sbin Makefile

10804 Enable unused warnings outside of uts
Reviewed by: Andy Stormont <astormont at racktopsystems.com>
Reviewed by: Toomas Soome <tsoome at me.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate 8e718beusr/src/common/iscsi base64.c, usr/src/uts/common/io/idm idm_conn_sm.c idm.c

10770 idm: NULL pointer errors
Reviewed by: Andy Stormont <astormont at racktopsystems.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate 4da9975usr/src/uts/common/io avintr.c, usr/src/uts/common/os brand.c

10790 i86pc: NULL pointer errors
Reviewed by: Andy Stormont <astormont at racktopsystems.com>
Reviewed by: Patrick Mooney <patrick.mooney at joyent.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate 36f99a5usr/src/uts/common/io/mac mac_sched.c mac_client.c

10778 mac: NULL pointer errors
Reviewed by: Andy Stormont <astormont at racktopsystems.com>
Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth at skylime.net>
Reviewed by: Patrick Mooney <patrick.mooney at joyent.com>
Reviewed by: Ryan Zezeski <rpz at joyent.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate 296f12dusr/src/uts/common/io/pciex pcie_fault.c pcie.c, usr/src/uts/common/io/pciex/hotplug pcishpc.c

10792 pcie: NULL pointer errors
Reviewed by: Robert Mustacchi <rm at joyent.com>
Reviewed by: Patrick Mooney <patrick.mooney at joyent.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate 2002b18usr/src/uts/i86pc/io/dr dr.c

10791 dr: NULL pointer errors
Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth at skylime.net>
Reviewed by: Robert Mustacchi <rm at joyent.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate 8cd1b71usr/src/uts/common/gssapi/mechs/krb5/crypto etypes.c cksumtypes.c

10775 kmech_krb5: NULL pointer errors
Reviewed by: Andy Stormont <astormont at racktopsystems.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate c48c304usr/src/uts/common/pcmcia/cis cis.c cis_handlers.c, usr/src/uts/common/pcmcia/cs cs.c

10774 pcmcia: NULL pointer errors
Reviewed by: Andy Stormont <astormont at racktopsystems.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate b38836busr/src/uts/common/io/sata/impl sata.c, usr/src/uts/common/sys/sata sata_blacklist.h

10773 sata: NULL pointer errors
Reviewed by: Andy Stormont <astormont at racktopsystems.com>
Reviewed by: Robert Mustacchi <rm at joyent.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate e9f74eausr/src/uts/common/fs/sockfs nl7c.c socktpi.c

10738 sockfs: NULL pointer errors
Reviewed by: Robert Mustacchi <rm at joyent.com>
Reviewed by: Andy Fiddaman <andy at omniosce.org>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate 0f677acusr/src/uts/common/crypto/api kcf_dual.c, usr/src/uts/common/crypto/core kcf_cryptoadm.c

10772 kcf: NULL pointer errors
Reviewed by: Andy Stormont <astormont at racktopsystems.com>
Reviewed by: Robert Mustacchi <rm at joyent.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate 03b18edusr/src/uts/common/io/ib/mgt/ibmf ibmf_wqe.c ibmf_saa_utils.c

10771 ibmf: NULL pointer errors
Reviewed by: Andy Stormont <astormont at racktopsystems.com>
Reviewed by: Robert Mustacchi <rm at joyent.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate 28ec64dusr/src/uts/common/io/ksocket ksocket.c

10769 ksocket: NULL pointer errors
Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth at skylime.net>
Reviewed by: Patrick Mooney <patrick.mooney at joyent.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate 9c80534usr/src/uts/common/gssapi gssd_clnt_stubs.c, usr/src/uts/common/gssapi/include mechglueP.h

10768 kgssapi: NULL pointer errors
Reviewed by: Andy Stormont <astormont at racktopsystems.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate ee44178usr/src/uts/intel/io/acpica osl.c

10765 acpica: NULL pointer errors
Reviewed by: Andy Stormont <astormont at racktopsystems.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate 239936dusr/src/uts/common/io/usb/clients/hidparser hidparser.c

10762 hidparser: NULL pointer errors
Reviewed by: Andy Stormont <astormont at racktopsystems.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate 0f48f68usr/src/uts/common/c2 audit_event.c audit_io.c

10758 c2audit: NULL pointer errors
Reviewed by: Andy Stormont <astormont at racktopsystems.com>
Reviewed by: Robert Mustacchi <rm at joyent.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate a8eee26usr/src/uts/common/io rlmod.c

10745 rlmod: NULL pointer errors
Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth at skylime.net>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate 1d775d5usr/src/man/man5 zpool-features.5

10829 zpool-features.5 add missing .RE
Reviewed by: Andy Stormont <astormont at racktopsystems.com>
Reviewed by: Peter Tribble <peter.tribble at gmail.com>
Reviewed by: Gergő Doma <domag02 at gmail.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate e14e15ausr/src/uts/common/os aio.c

10756 kaio: NULL pointer errors
Reviewed by: Marcel Telka <marcel at telka.sk>
Reviewed by: Robert Mustacchi <rm at joyent.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate 43bd900usr/src/uts/common/fs/portfs port.c

10754 portfs: NULL pointer errors
Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth at skylime.net>
Reviewed by: Robert Mustacchi <rm at joyent.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate c92b35busr/src/uts/common/io/fibre-channel/fca/qlc ql_api.c ql_ioctl.c, usr/src/uts/common/sys/fibre-channel/fca/qlc ql_api.h ql_mbx.h

10753 qlc: NULL pointer errors
Reviewed by: Marcel Telka <marcel at telka.sk>
Reviewed by: Robert Mustacchi <rm at joyent.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate 483e494usr/src/uts/common/io/fibre-channel/ulp fcsm.c

10752 fcsm: NULL pointer errors
Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth at skylime.net>
Reviewed by: Robert Mustacchi <rm at joyent.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate dd328bfusr/src/uts/common/fs/zfs zcp_iter.c zcp.c

10731 zfs: NULL pointer errors
Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth at skylime.net>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate fd79773usr/src/lib/libefi/common rdwr_efi.c, usr/src/uts/common/fs/zfs zvol.c

10570 Need workaround to EFI boot on AMI BIOS
Reviewed by: Jerry Jelinek <jerry.jelinek at joyent.com>
Reviewed by: Robert Mustacchi <rm at joyent.com>
Reviewed by: Toomas Soome <tsoome at me.com>
Reviewed by: Andy Stormont <astormont at racktopsystems.com>
Approved by: Richard Lowe <richlowe at richlowe.net>

Illumos/gate 995a963usr/src/uts/common/exec/elf elf.c

10726 elfexec: NULL pointer errors
Reviewed by: John Levon <john.levon at joyent.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate ffc2b7dusr/src/uts/common/io/1394/adapters hci1394_ixl_comp.c hci1394_ixl_update.c

10723 hci1394: NULL pointer errors
Reviewed by: Robert Mustacchi <rm at joyent.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate accc298usr/src/uts/common/io/ib/clients/rds rdsib_ep.c rdsib_buf.c

10722 rdsib: NULL pointer errors
Reviewed by: Robert Mustacchi <rm at joyent.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate dd26c2ausr/src/uts/common/io/ib/clients/eoib enx_misc.c

10719 eibnx: NULL pointer errors
Reviewed by: John Levon <john.levon at joyent.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate 11b5d82usr/src/uts/common/io/usb/clients/video/usbvc usbvc.c

10716 usbvc: NULL pointer errors
Reviewed by: Robert Mustacchi <rm at joyent.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate 2888301usr/src/uts/common/io/kb8042 kb8042.c

10683 kb8042: implement kb8042_rsrv() to get out of interrupt context
Reviewed by: Andy Stormont <astormont at racktopsystems.com>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate e6b6ca0usr/src/boot/sys/boot/i386 boot.ldscript, usr/src/boot/sys/boot/i386/gptzfsboot Makefile

10605 loader: boot2 build should use ldscript
Reviewed by: Andy Fiddaman <andy at omniosce.org>
Approved by: Dan McDonald <danmcd at joyent.com>

Illumos/gate fb8e13eusr/src/man/man4 system.4

10832 system(4) refers to coffexec
Reviewed by: Toomas Soome <toomas at me.com>
Reviewed by: Gergő Mihály Doma <domag02 at gmail.com>
Approved by: Joshua M. Clulow <josh at sysmgr.org>

Illumos/gate 2952f70usr/src/uts/common/xen/io xdb.c, usr/src/uts/common/xen/os xvdi.c

10799 i86xpv: NULL pointer errors
Reviewed by: John Levon <john.levon at joyent.com>
Reviewed by: Robert Mustacchi <rm at joyent.com>
Approved by: Richard Lowe <richlowe at richlowe.net>

Illumos/gate a2d4e26usr/src/uts/common/xen/io xenbus_client.c

10798 xpv: NULL pointer errors
Reviewed by: Andy Stormont <astormont at racktopsystems.com>
Reviewed by: Robert Mustacchi <rm at joyent.com>
Approved by: Richard Lowe <richlowe at richlowe.net>

Illumos/gate dba471fusr/src/uts/common/xen/io evtchn_dev.c

10800 evtchn: NULL pointer errors
Reviewed by: Sebastian Wiedenroth <sebastian.wiedenroth at skylime.net>
Reviewed by: Robert Mustacchi <rm at joyent.com>
Reviewed by: Gergő Doma <domag02 at gmail.com>
Approved by: Richard Lowe <richlowe at richlowe.net>

Illumos/gate 6be20e1usr/src/uts/common/xen/io xencons.c

10801 xencons: NULL pointer errors
Reviewed by: John Levon <john.levon at joyent.com>
Reviewed by: Robert Mustacchi <rm at joyent.com>
Reviewed by: Gergő Doma <domag02 at gmail.com>
Approved by: Richard Lowe <richlowe at richlowe.net>

Illumos/gate 73ef9f2usr/src/uts/common/xen/io xenbus_dev.c

10802 xenbus: NULL pointer errors
Reviewed by: John Levon <john.levon at joyent.com>
Reviewed by: Robert Mustacchi <rm at joyent.com>
Reviewed by: Gergő Doma <domag02 at gmail.com>
Approved by: Richard Lowe <richlowe at richlowe.net>