Project

General

Profile

Bug #12324

picl: smatch, NULL pointer and ld errors

Added by Toomas Soome about 1 month ago.

Status:
In Progress
Priority:
Normal
Assignee:
Category:
cmd - userland programs
Start date:
Due date:
% Done:

90%

Estimated time:
Difficulty:
Medium
Tags:

Description

Bundled up multiple errors; smatch cleanups, NULL pointer and ld guidance issues, mostly about SPARC but a bit also about x86.

    /code/illumos-gate/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/smatch: ../picld_pluginutil.c:1640 picld_pluginutil_parse_config_file() error: unchecked function return 'setlocale'
    /code/illumos-gate/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/smatch: ../picld_pluginutil.c:1648 picld_pluginutil_parse_config_file() error: unchecked function return 'setlocale'
    /code/illumos-gate/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/smatch: ../picld_pluginutil.c:1658 picld_pluginutil_parse_config_file() error: unchecked function return 'setlocale'
    /code/illumos-gate/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/smatch: ../picld_pluginutil.c:1673 picld_pluginutil_parse_config_file() error: unchecked function return 'setlocale'
    /code/illumos-gate/usr/src/tools/proto/root_i386-nd/opt/onbld/bin/i386/smatch: ../picld_pluginutil.c:1697 picld_pluginutil_parse_config_file() error: unchecked function return 'setlocale'

    piclsbl.c: In function 'piclsbl_handler':
    piclsbl.c:239: error: passing argument 4 of 'nvlist_unpack' makes integer from pointer without a cast
    /code/illumos-gate/proto/root_sparc/usr/include/sys/nvpair.h:159: note: expected 'int' but argument is of type 'void *'
    piclsbl.c:251: error: assignment makes integer from pointer without a cast
    piclsbl.c:318: error: assignment makes integer from pointer without a cast
    piclsbl.c: In function 'piclsbl_init':
    piclsbl.c:390: error: comparison between pointer and integer
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclsbl.c:133 cb_find_disk() error: unchecked function return 'strncpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclsbl.c:370 piclsbl_handler() error: unchecked function return '(*pcp_close_ptr)'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclsbl.c:423 piclsbl_register() error: unchecked function return 'picld_plugin_register'

    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: init.c:66 pri_bufinit() error: unchecked function return 'md_fini'

    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: io_dev_label.c:102 io_dev_addlabel() warn: inconsistent indenting

    priplugin.c: In function 'priplugin_init':
    priplugin.c:130: error: passing argument 2 of 'thr_create' makes integer from pointer without a cast
    /code/illumos-gate/proto/root_sparc/usr/include/thread.h:54: note: expected 'size_t' but argument is of type 'void *'
    priplugin.c:137: error: passing argument 2 of 'thr_create' makes integer from pointer without a cast
    /code/illumos-gate/proto/root_sparc/usr/include/thread.h:54: note: expected 'size_t' but argument is of type 'void *'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: priplugin.c:107 remove_old_segments() error: unchecked function return 'ptree_destroy_node'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: priplugin.c:323 pri_reader_thread() error: unchecked function return 'sleep'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: priplugin.c:380 priplugin_register() error: unchecked function return 'picld_plugin_register'

    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: dr.c:436 remove_cpus() error: unchecked function return 'ptree_destroy_node'

    mdescplugin.c: In function 'dr_handler':
    mdescplugin.c:115: error: passing argument 4 of 'nvlist_unpack' makes integer from pointer without a cast
    /code/illumos-gate/proto/root_sparc/usr/include/sys/nvpair.h:159: note: expected 'int' but argument is of type 'void *'
    mdescplugin.c: In function 'dsc_handler':
    mdescplugin.c:179: error: passing argument 4 of 'nvlist_unpack' makes integer from pointer without a cast
    /code/illumos-gate/proto/root_sparc/usr/include/sys/nvpair.h:159: note: expected 'int' but argument is of type 'void *'
    mdescplugin.c:185: error: assignment makes integer from pointer without a cast
    mdescplugin.c: In function 'signal_devtree':
    mdescplugin.c:221: error: passing argument 3 of 'nvlist_alloc' makes integer from pointer without a cast
    /code/illumos-gate/proto/root_sparc/usr/include/sys/nvpair.h:155: note: expected 'int' but argument is of type 'void *'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: mdescplugin.c:197 dsc_handler() error: unchecked function return 'ptree_update_propval_by_name'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: mdescplugin.c:200 dsc_handler() error: unchecked function return 'ptree_update_propval_by_name'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: mdescplugin.c:327 mdescplugin_register() error: unchecked function return 'picld_plugin_register'

    snmpplugin.c: In function 'snmpplugin_init':
    snmpplugin.c:336: error: passing argument 2 of 'thr_create' makes integer from pointer without a cast
    /code/illumos-gate/proto/root_sparc/usr/include/thread.h:54: note: expected 'size_t' but argument is of type 'void *'
    snmpplugin.c:360: error: passing argument 2 of 'thr_create' makes integer from pointer without a cast
    /code/illumos-gate/proto/root_sparc/usr/include/thread.h:54: note: expected 'size_t' but argument is of type 'void *'
    snmpplugin.c: In function 'tree_builder':
    snmpplugin.c:492: error: assignment makes integer from pointer without a cast
    snmpplugin.c:493: error: assignment makes integer from pointer without a cast
    snmpplugin.c:517: error: comparison between pointer and integer
    snmpplugin.c: In function 'make_node':
    snmpplugin.c:708: error: comparison between pointer and integer
    snmpplugin.c:718: error: return makes integer from pointer without a cast
    snmpplugin.c:723: error: return makes integer from pointer without a cast
    snmpplugin.c:724: error: comparison between pointer and integer
    snmpplugin.c:735: error: return makes integer from pointer without a cast
    snmpplugin.c:738: error: return makes integer from pointer without a cast
    snmpplugin.c:745: error: return makes integer from pointer without a cast
    snmpplugin.c:751: error: return makes integer from pointer without a cast
    snmpplugin.c:758: error: return makes integer from pointer without a cast
    snmpplugin.c:764: error: return makes integer from pointer without a cast
    snmpplugin.c:770: error: return makes integer from pointer without a cast
    snmpplugin.c:777: error: return makes integer from pointer without a cast
    snmpplugin.c:781: error: return makes integer from pointer without a cast
    snmpplugin.c:783: error: return makes integer from pointer without a cast
    snmpplugin.c:788: error: return makes integer from pointer without a cast
    snmpplugin.c:790: error: return makes integer from pointer without a cast
    snmpplugin.c:795: error: return makes integer from pointer without a cast
    snmpplugin.c:799: error: return makes integer from pointer without a cast
    snmpplugin.c:803: error: return makes integer from pointer without a cast
    snmpplugin.c:806: error: return makes integer from pointer without a cast
    snmpplugin.c:810: error: return makes integer from pointer without a cast
    snmpplugin.c:813: error: return makes integer from pointer without a cast
    snmpplugin.c:817: error: return makes integer from pointer without a cast
    snmpplugin.c:821: error: return makes integer from pointer without a cast
    snmpplugin.c:825: error: return makes integer from pointer without a cast
    snmpplugin.c:831: error: return makes integer from pointer without a cast
    snmpplugin.c:837: error: return makes integer from pointer without a cast
    snmpplugin.c:841: error: return makes integer from pointer without a cast
    snmpplugin.c:844: error: return makes integer from pointer without a cast
    snmpplugin.c:846: error: return makes integer from pointer without a cast
    snmpplugin.c:850: error: return makes integer from pointer without a cast
    snmpplugin.c:854: error: return makes integer from pointer without a cast
    snmpplugin.c:857: error: return makes integer from pointer without a cast
    snmpplugin.c:863: error: return makes integer from pointer without a cast
    snmpplugin.c:869: error: return makes integer from pointer without a cast
    snmpplugin.c:874: error: return makes integer from pointer without a cast
    snmpplugin.c:880: error: return makes integer from pointer without a cast
    snmpplugin.c:885: error: return makes integer from pointer without a cast
    snmpplugin.c:889: error: return makes integer from pointer without a cast
    snmpplugin.c:893: error: return makes integer from pointer without a cast
    snmpplugin.c:897: error: return makes integer from pointer without a cast
    snmpplugin.c:901: error: return makes integer from pointer without a cast
    snmpplugin.c:905: error: return makes integer from pointer without a cast
    snmpplugin.c:909: error: return makes integer from pointer without a cast
    snmpplugin.c:913: error: return makes integer from pointer without a cast
    snmpplugin.c:917: error: return makes integer from pointer without a cast
    snmpplugin.c:921: error: return makes integer from pointer without a cast
    snmpplugin.c:924: error: return makes integer from pointer without a cast
    snmpplugin.c:928: error: return makes integer from pointer without a cast
    snmpplugin.c:930: error: return makes integer from pointer without a cast
    snmpplugin.c:932: error: return makes integer from pointer without a cast
    snmpplugin.c:934: error: return makes integer from pointer without a cast
    snmpplugin.c:936: error: return makes integer from pointer without a cast
    snmpplugin.c:938: error: return makes integer from pointer without a cast
    snmpplugin.c:943: error: return makes integer from pointer without a cast
    snmpplugin.c:947: error: return makes integer from pointer without a cast
    snmpplugin.c:951: error: return makes integer from pointer without a cast
    snmpplugin.c:955: error: return makes integer from pointer without a cast
    snmpplugin.c:960: error: return makes integer from pointer without a cast
    snmpplugin.c:964: error: return makes integer from pointer without a cast
    snmpplugin.c:968: error: return makes integer from pointer without a cast
    snmpplugin.c:972: error: return makes integer from pointer without a cast
    snmpplugin.c:976: error: return makes integer from pointer without a cast
    snmpplugin.c:980: error: return makes integer from pointer without a cast
    snmpplugin.c:987: error: return makes integer from pointer without a cast
    snmpplugin.c:991: error: return makes integer from pointer without a cast
    snmpplugin.c:994: error: return makes integer from pointer without a cast
    snmpplugin.c:997: error: return makes integer from pointer without a cast
    snmpplugin.c:1000: error: return makes integer from pointer without a cast
    snmpplugin.c:1003: error: return makes integer from pointer without a cast
    snmpplugin.c:1006: error: return makes integer from pointer without a cast
    snmpplugin.c:1009: error: return makes integer from pointer without a cast
    snmpplugin.c:1012: error: return makes integer from pointer without a cast
    snmpplugin.c: In function 'lookup_nodeh':
    snmpplugin.c:1060: error: return makes integer from pointer without a cast
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: snmpplugin.c:519 tree_builder() error: unchecked function return 'ptree_delete_node'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: snmpplugin.c:520 tree_builder() error: unchecked function return 'ptree_destroy_node'

    piclfrudr.c: In function 'find_child_by_name':
    piclfrudr.c:897: error: return makes integer from pointer without a cast
    piclfrudr.c:902: error: return makes integer from pointer without a cast
    piclfrudr.c:909: error: return makes integer from pointer without a cast
    piclfrudr.c: In function 'frudr_completion_handler':
    piclfrudr.c:1244: error: initialization makes integer from pointer without a cast
    piclfrudr.c:1253: error: assignment makes integer from pointer without a cast
    piclfrudr.c:1256: error: comparison between pointer and integer
    piclfrudr.c:1304: error: comparison between pointer and integer
    piclfrudr.c: In function 'post_frudr_event':
    piclfrudr.c:1340: error: passing argument 3 of 'nvlist_alloc' makes integer from pointer without a cast
    /code/illumos-gate/proto/root_sparc/usr/include/sys/nvpair.h:155: note: expected 'int' but argument is of type 'void *'
    piclfrudr.c: In function 'frudr_evhandler':
    piclfrudr.c:1491: error: passing argument 4 of 'nvlist_unpack' makes integer from pointer without a cast
    /code/illumos-gate/proto/root_sparc/usr/include/sys/nvpair.h:159: note: expected 'int' but argument is of type 'void *'
    piclfrudr.c:1582: error: passing argument 2 of 'post_frudr_event' makes integer from pointer without a cast
    piclfrudr.c:1332: note: expected 'picl_nodehdl_t' but argument is of type 'void *'
    piclfrudr.c:1592: error: assignment makes integer from pointer without a cast
    piclfrudr.c:1601: error: comparison between pointer and integer
    piclfrudr.c:1644: error: passing argument 3 of 'post_frudr_event' makes integer from pointer without a cast
    piclfrudr.c:1332: note: expected 'picl_nodehdl_t' but argument is of type 'void *'
    piclfrudr.c: In function 'frutree_evhandler':
    piclfrudr.c:1755: error: passing argument 4 of 'nvlist_unpack' makes integer from pointer without a cast
    /code/illumos-gate/proto/root_sparc/usr/include/sys/nvpair.h:159: note: expected 'int' but argument is of type 'void *'
    piclfrudr.c: In function 'set_led':
    piclfrudr.c:1897: error: comparison between pointer and integer
    piclfrudr.c: In function 'update_disk_node':
    piclfrudr.c:2347: error: comparison between pointer and integer
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclfrudr.c:671 seattle_setleds() error: unchecked function return 'ioctl'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclfrudr.c:672 seattle_setleds() error: unchecked function return 'ioctl'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclfrudr.c:709 boston_set_frontleds() error: unchecked function return 'ioctl'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclfrudr.c:746 boston_set_rearleds() error: unchecked function return 'ioctl'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclfrudr.c:1792 frutree_evhandler() error: unchecked function return 'sprintf'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclfrudr.c:2188 opst_init() warn: double check that we're allocating correct size: 48 vs 1
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclfrudr.c:2629 disk_leds_thread() error: unchecked function return 'sprintf'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclfrudr.c:2631 disk_leds_thread() error: unchecked function return 'sprintf'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclfrudr.c:2648 disk_leds_thread() error: unchecked function return 'devctl_device_getstate'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclfrudr.c:2931 delete_i2c_node() error: unchecked function return 'di_init_driver'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclfrudr.c:2932 delete_i2c_node() error: unchecked function return 'devctl_device_remove'

    fru_access.c: In function 'fru_open_container':
    fru_access.c:771: error: return makes integer from pointer without a cast
    fru_access.c:778: error: return makes integer from pointer without a cast
    fru_access.c:784: error: return makes integer from pointer without a cast
    fru_access.c:789: error: return makes integer from pointer without a cast
    fru_access.c:794: error: return makes integer from pointer without a cast
    fru_access.c:800: error: return makes integer from pointer without a cast
    fru_access.c:805: error: return makes integer from pointer without a cast
    fru_access.c:816: error: return makes integer from pointer without a cast
    fru_access.c:825: error: return makes integer from pointer without a cast
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: fru_access.c:2702 fru_close_container() error: dereferencing freed memory 'sec_hash_obj->u.sec_obj'

    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: picllom.c:302 get_lom_device_path() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: picllom.c:303 get_lom_device_path() error: unchecked function return 'strcat'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: picllom.c:304 get_lom_device_path() error: unchecked function return 'strcat'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: picllom.c:305 get_lom_device_path() error: unchecked function return 'strcpy'

    piclenvsetup.c:86: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:86: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:86: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:88: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:88: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:88: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:90: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:90: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:90: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:92: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:92: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:92: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:94: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:94: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:94: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:96: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:96: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:96: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:98: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:98: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:98: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:100: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:100: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:100: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:102: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:102: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:102: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:123: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:123: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:125: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:125: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:127: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:127: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:129: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:129: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:131: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:131: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:150: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:150: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:151: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:151: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:152: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:152: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:153: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:153: error: initialization makes integer from pointer without a cast
    piclenvsetup.c: In function 'delete_sensor_nodes_and_props':
    piclenvsetup.c:495: error: comparison between pointer and integer
    piclenvsetup.c:499: error: assignment makes integer from pointer without a cast
    piclenvsetup.c:500: error: assignment makes integer from pointer without a cast
    piclenvsetup.c: In function 'delete_disk_nodes_and_props':
    piclenvsetup.c:637: error: comparison between pointer and integer
    piclenvsetup.c:640: error: assignment makes integer from pointer without a cast
    piclenvsetup.c:641: error: assignment makes integer from pointer without a cast
    piclenvsetup.c: In function 'delete_fan_nodes_and_props':
    piclenvsetup.c:775: error: comparison between pointer and integer
    piclenvsetup.c:778: error: assignment makes integer from pointer without a cast
    piclenvsetup.c: In function 'env_picl_setup':
    piclenvsetup.c:950: error: assignment makes integer from pointer without a cast
    piclenvsetup.c:951: error: assignment makes integer from pointer without a cast
    piclenvsetup.c:952: error: assignment makes integer from pointer without a cast
    piclenvsetup.c:961: error: assignment makes integer from pointer without a cast
    piclenvsetup.c:962: error: assignment makes integer from pointer without a cast
    piclenvsetup.c:971: error: assignment makes integer from pointer without a cast
    piclenvsetup.c:972: error: assignment makes integer from pointer without a cast
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclenvsetup.c:409 add_sensor_nodes_and_props() warn: curly braces intended?
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclenvsetup.c:1001 env_picl_setup() warn: inconsistent indenting

    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclenvd.c:1613 disk_temp_thr() warn: inconsistent indenting
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclenvd.c:1910 piclenvd_register() error: unchecked function return 'picld_plugin_register'

    piclenvsetup.c:91: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:91: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:91: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:94: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:94: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:94: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:97: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:97: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:97: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:100: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:100: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:100: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:103: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:103: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:103: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:106: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:106: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:106: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:130: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:130: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:133: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:133: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:136: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:136: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:139: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:139: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:142: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:142: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:162: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:162: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:163: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:163: error: initialization makes integer from pointer without a cast
    piclenvsetup.c: In function 'delete_sensor_nodes_and_props':
    piclenvsetup.c:500: error: comparison between pointer and integer
    piclenvsetup.c:504: error: assignment makes integer from pointer without a cast
    piclenvsetup.c:505: error: assignment makes integer from pointer without a cast
    piclenvsetup.c: In function 'delete_disk_nodes_and_props':
    piclenvsetup.c:636: error: comparison between pointer and integer
    piclenvsetup.c:639: error: assignment makes integer from pointer without a cast
    piclenvsetup.c:640: error: assignment makes integer from pointer without a cast
    piclenvsetup.c: In function 'delete_fan_nodes_and_props':
    piclenvsetup.c:775: error: comparison between pointer and integer
    piclenvsetup.c:778: error: assignment makes integer from pointer without a cast
    piclenvsetup.c: In function 'env_picl_setup':
    piclenvsetup.c:946: error: assignment makes integer from pointer without a cast
    piclenvsetup.c:947: error: assignment makes integer from pointer without a cast
    piclenvsetup.c:948: error: assignment makes integer from pointer without a cast
    piclenvsetup.c:957: error: assignment makes integer from pointer without a cast
    piclenvsetup.c:958: error: assignment makes integer from pointer without a cast
    piclenvsetup.c:967: error: assignment makes integer from pointer without a cast
    piclenvsetup.c:968: error: assignment makes integer from pointer without a cast

    piclenvd.c: In function 'envd_setup':
    piclenvd.c:2232: error: return makes integer from pointer without a cast
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclenvd.c:2118 disk_temp_thr() warn: inconsistent indenting
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclenvd.c:2296 piclenvd_register() error: unchecked function return 'picld_plugin_register'

    piclenvsetup.c:90: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:90: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:90: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:94: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:94: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:94: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:98: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:98: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:98: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:121: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:121: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:124: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:124: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:127: error: initialization makes integer from pointer without a cast
    piclenvsetup.c:127: error: initialization makes integer from pointer without a cast
    piclenvsetup.c: In function 'delete_sensor_nodes_and_props':
    piclenvsetup.c:430: error: comparison between pointer and integer
    piclenvsetup.c:434: error: assignment makes integer from pointer without a cast
    piclenvsetup.c:435: error: assignment makes integer from pointer without a cast
    piclenvsetup.c: In function 'delete_fan_nodes_and_props':
    piclenvsetup.c:556: error: comparison between pointer and integer
    piclenvsetup.c:559: error: assignment makes integer from pointer without a cast
    piclenvsetup.c: In function 'env_picl_setup':
    piclenvsetup.c:726: error: assignment makes integer from pointer without a cast
    piclenvsetup.c:727: error: assignment makes integer from pointer without a cast
    piclenvsetup.c:728: error: assignment makes integer from pointer without a cast
    piclenvsetup.c:737: error: assignment makes integer from pointer without a cast
    piclenvsetup.c:738: error: assignment makes integer from pointer without a cast

    piclenvd.c: In function 'envd_setup':
    piclenvd.c:1487: error: return makes integer from pointer without a cast
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclenvd.c:1522 piclenvd_register() error: unchecked function return 'picld_plugin_register'

    piclfrutree.c:300: error: initialization makes integer from pointer without a cast
    piclfrutree.c: In function 'add_fru_node':
    piclfrutree.c:749: error: comparison between pointer and integer
    piclfrutree.c:810: error: passing argument 3 of 'post_frudr_event' makes integer from pointer without a cast
    piclfrutree.c:333: note: expected 'picl_nodehdl_t' but argument is of type 'void *'
    piclfrutree.c: In function 'add_location_node':
    piclfrutree.c:944: error: comparison between pointer and integer
    piclfrutree.c: In function 'add_intermediate_nodes':
    piclfrutree.c:1333: error: comparison between pointer and integer
    piclfrutree.c:1347: error: comparison between pointer and integer
    piclfrutree.c: In function 'find_child_by_name':
    piclfrutree.c:1439: error: return makes integer from pointer without a cast
    piclfrutree.c:1444: error: return makes integer from pointer without a cast
    piclfrutree.c:1451: error: return makes integer from pointer without a cast
    piclfrutree.c: In function 'create_dimm_references':
    piclfrutree.c:1460: error: initialization makes integer from pointer without a cast
    piclfrutree.c: In function 'frudr_completion_handler':
    piclfrutree.c:2027: error: assignment makes integer from pointer without a cast
    piclfrutree.c:2030: error: comparison between pointer and integer
    piclfrutree.c:2036: error: assignment makes integer from pointer without a cast
    piclfrutree.c:2039: error: comparison between pointer and integer
    piclfrutree.c: In function 'post_frudr_event':
    piclfrutree.c:2061: error: passing argument 3 of 'nvlist_alloc' makes integer from pointer without a cast
    /code/illumos-gate/proto/root_sparc/usr/include/sys/nvpair.h:155: note: expected 'int' but argument is of type 'void *'
    piclfrutree.c: In function 'frudr_evhandler':
    piclfrutree.c:2167: error: passing argument 4 of 'nvlist_unpack' makes integer from pointer without a cast
    /code/illumos-gate/proto/root_sparc/usr/include/sys/nvpair.h:159: note: expected 'int' but argument is of type 'void *'
    piclfrutree.c: In function 'frumemcfg_evhandler':
    piclfrutree.c:2369: error: passing argument 4 of 'nvlist_unpack' makes integer from pointer without a cast
    /code/illumos-gate/proto/root_sparc/usr/include/sys/nvpair.h:159: note: expected 'int' but argument is of type 'void *'
    piclfrutree.c: In function 'add_sensor_node':
    piclfrutree.c:2600: error: comparison between pointer and integer
    piclfrutree.c: In function 'add_env_nodes':
    piclfrutree.c:3229: error: comparison between pointer and integer
    piclfrutree.c:3273: error: passing argument 2 of 'add_sensor_node' makes integer from pointer without a cast
    piclfrutree.c:2576: note: expected 'picl_nodehdl_t' but argument is of type 'void *'
    piclfrutree.c: In function 'add_led_nodes':
    piclfrutree.c:3631: error: passing argument 1 of 'add_sensor_node' makes integer from pointer without a cast
    piclfrutree.c:2576: note: expected 'picl_nodehdl_t' but argument is of type 'void *'
    piclfrutree.c:3634: error: passing argument 2 of 'add_sensor_node' makes integer from pointer without a cast
    piclfrutree.c:2576: note: expected 'picl_nodehdl_t' but argument is of type 'void *'
    piclfrutree.c: In function 'update_disk_node':
    piclfrutree.c:3866: error: comparison between pointer and integer
    piclfrutree.c:3884: error: comparison between pointer and integer
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclfrutree.c:1667 create_cpu_references() warn: inconsistent indenting
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclfrutree.c:2674 open_kstat() error: unchecked function return 'kstat_close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclfrutree.c:2679 open_kstat() error: unchecked function return 'kstat_close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclfrutree.c:2997 get_board_status() error: unchecked function return 'kstat_close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclfrutree.c:3000 get_board_status() error: unchecked function return 'kstat_close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclfrutree.c:3389 add_env_nodes() error: unchecked function return 'kstat_close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclfrutree.c:3509 get_sensor_data() error: unchecked function return 'kstat_close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclfrutree.c:3512 get_sensor_data() error: unchecked function return 'kstat_close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclfrutree.c:3571 get_sensor_data() error: unchecked function return 'kstat_close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclfrutree.c:3577 get_sensor_data() error: unchecked function return 'kstat_close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclfrutree.c:3580 get_sensor_data() error: unchecked function return 'kstat_close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclfrutree.c:3583 get_sensor_data() error: unchecked function return 'kstat_close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclfrutree.c:3922 set_disk_leds() error: unchecked function return 'devctl_device_getstate'

    libfruaccess.c: In function 'fru_open_container':
    libfruaccess.c:117: error: return makes integer from pointer without a cast
    libfruaccess.c:120: error: passing argument 4 of 'ptree_get_propval_by_name' makes integer from pointer without a cast
    /code/illumos-gate/proto/root_sparc/usr/include/picltree.h:105: note: expected 'size_t' but argument is of type 'void *'
    libfruaccess.c:123: error: return makes integer from pointer without a cast
    libfruaccess.c:129: error: return makes integer from pointer without a cast

    piclfrutree.c: In function 'frudr_completion_handler':
    piclfrutree.c:1027: error: assignment makes integer from pointer without a cast
    piclfrutree.c:1030: error: comparison between pointer and integer
    piclfrutree.c: In function 'post_frudr_event':
    piclfrutree.c:1051: error: passing argument 3 of 'nvlist_alloc' makes integer from pointer without a cast
    /code/illumos-gate/proto/root_sparc/usr/include/sys/nvpair.h:155: note: expected 'int' but argument is of type 'void *'
    piclfrutree.c: In function 'add_power_supply':
    piclfrutree.c:1114: error: passing argument 2 of 'post_frudr_event' makes integer from pointer without a cast
    piclfrutree.c:1043: note: expected 'picl_nodehdl_t' but argument is of type 'void *'
    piclfrutree.c: In function 'remove_power_supply':
    piclfrutree.c:1144: error: passing argument 2 of 'post_frudr_event' makes integer from pointer without a cast
    piclfrutree.c:1043: note: expected 'picl_nodehdl_t' but argument is of type 'void *'

    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:311 send_pcf8574_reset() error: unchecked function return 'sleep'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:403 check_fan() warn: if statement not indented
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:408 check_fan() error: unchecked function return 'strlcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:409 check_fan() error: unchecked function return 'strlcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:413 check_fan() error: unchecked function return 'strlcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:414 check_fan() error: unchecked function return 'strlcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:487 psvc_fan_fault_check_policy_0() error: unchecked function return 'strlcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:493 psvc_fan_fault_check_policy_0() error: unchecked function return 'strlcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:546 check_cpu_temp_fault() error: unchecked function return 'psvc_get_attr'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:568 check_cpu_temp_fault() error: unchecked function return 'system'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:585 psvc_shutdown_policy_0() error: unchecked function return 'psvc_get_attr'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:691 check_i2c_access() error: unchecked function return 'snprintf'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:720 handle_ps_hotplug_children_presence() error: unchecked function return 'snprintf'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:785 handle_ps_hotplug() error: unchecked function return 'ptree_get_node_by_path'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:786 handle_ps_hotplug() error: unchecked function return 'ptree_add_node'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:787 handle_ps_hotplug() error: unchecked function return 'snprintf'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:826 handle_ps_hotplug() error: unchecked function return 'snprintf'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:830 handle_ps_hotplug() error: unchecked function return 'snprintf'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:831 handle_ps_hotplug() warn: inconsistent indenting
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:835 handle_ps_hotplug() error: unchecked function return 'snprintf'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:837 handle_ps_hotplug() error: unchecked function return 'strlcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:841 handle_ps_hotplug() error: unchecked function return 'strlcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:892 check_ps_state() error: unchecked function return 'snprintf'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:918 check_ps_state() error: unchecked function return 'snprintf'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:939 check_ps_state() error: unchecked function return 'strlcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:940 check_ps_state() error: unchecked function return 'strlcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:947 check_ps_state() error: unchecked function return 'strlcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:948 check_ps_state() error: unchecked function return 'strlcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1051 check_ps_state() error: unchecked function return 'snprintf'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1108 ac_unplugged() error: unchecked function return 'snprintf'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1277 psvc_ps_monitor_policy_0() error: unchecked function return 'handle_ps_hotplug'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1586 check_disk_fault() error: unchecked function return 'strlcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1587 check_disk_fault() error: unchecked function return 'strlcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1592 check_disk_fault() error: unchecked function return 'strlcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1593 check_disk_fault() error: unchecked function return 'strlcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1661 check_disk_hotplug() error: unchecked function return 'strlcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1667 check_disk_hotplug() error: unchecked function return 'strlcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1698 check_disk_hotplug() error: unchecked function return 'ptree_delete_node'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1838 update_disk_bp_temp_thresholds() error: unchecked function return 'psvc_get_attr'

    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcplugin.c:197 init_err() error: unchecked function return 'sprintf'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcplugin.c:256 psvc_psr_plugin_init() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcplugin.c:283 psvc_psr_plugin_fini() error: unchecked function return 'psvc_fini'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcplugin.c:290 psvc_psr_plugin_register() error: unchecked function return 'picld_plugin_register'

    piclfrutree.c: In function 'frudr_completion_handler':
    piclfrutree.c:1152: error: assignment makes integer from pointer without a cast
    piclfrutree.c:1155: error: comparison between pointer and integer
    piclfrutree.c: In function 'post_frudr_event':
    piclfrutree.c:1176: error: passing argument 3 of 'nvlist_alloc' makes integer from pointer without a cast
    /code/illumos-gate/proto/root_sparc/usr/include/sys/nvpair.h:155: note: expected 'int' but argument is of type 'void *'
    piclfrutree.c: In function 'add_power_supply':
    piclfrutree.c:1239: error: passing argument 2 of 'post_frudr_event' makes integer from pointer without a cast
    piclfrutree.c:1168: note: expected 'picl_nodehdl_t' but argument is of type 'void *'
    piclfrutree.c: In function 'remove_power_supply':
    piclfrutree.c:1271: error: passing argument 2 of 'post_frudr_event' makes integer from pointer without a cast
    piclfrutree.c:1168: note: expected 'picl_nodehdl_t' but argument is of type 'void *'

    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:533 psvc_remove_missing_nodes_0() error: unchecked function return 'ptree_delete_node'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:567 psvc_check_ps_hotplug_status_0() error: unchecked function return 'snprintf'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:632 psvc_check_ps_hotplug_status_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:633 psvc_check_ps_hotplug_status_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:634 psvc_check_ps_hotplug_status_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:660 psvc_check_ps_hotplug_status_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:677 psvc_check_ps_hotplug_status_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:678 psvc_check_ps_hotplug_status_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:686 psvc_check_ps_hotplug_status_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1035 psvc_ps_device_fail_notifier_policy_0() error: unchecked function return 'strlcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1037 psvc_ps_device_fail_notifier_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1084 psvc_ps_device_fail_notifier_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1085 psvc_ps_device_fail_notifier_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1087 psvc_ps_device_fail_notifier_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1088 psvc_ps_device_fail_notifier_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1109 psvc_ps_device_fail_notifier_policy_0() error: unchecked function return 'psvc_get_attr'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1119 psvc_ps_device_fail_notifier_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1122 psvc_ps_device_fail_notifier_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1214 psvc_ps_check_and_disable_dr_policy_0() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1284 psvc_fan_fault_check_policy_0() error: unchecked function return 'psvc_get_attr'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1298 psvc_fan_fault_check_policy_0() error: unchecked function return 'strlcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1305 psvc_fan_fault_check_policy_0() error: unchecked function return 'strlcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1317 psvc_fan_fault_check_policy_0() error: unchecked function return 'pthread_mutex_lock'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1327 psvc_fan_fault_check_policy_0() error: unchecked function return 'pthread_mutex_unlock'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1333 psvc_fan_fault_check_policy_0() error: unchecked function return 'strlcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1336 psvc_fan_fault_check_policy_0() error: unchecked function return 'strlcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1340 psvc_fan_fault_check_policy_0() error: unchecked function return 'pthread_mutex_unlock'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1351 psvc_fan_fault_check_policy_0() error: unchecked function return 'pthread_mutex_unlock'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1355 psvc_fan_fault_check_policy_0() error: unchecked function return 'pthread_mutex_unlock'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1371 psvc_fan_fault_check_policy_0() error: unchecked function return 'strlcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1378 psvc_fan_fault_check_policy_0() error: unchecked function return 'strlcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1395 psvc_fan_fault_check_policy_0() error: unchecked function return 'psvc_get_attr'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1397 psvc_fan_fault_check_policy_0() error: unchecked function return 'strlcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1423 psvc_fan_fault_check_policy_0() error: unchecked function return 'psvc_get_attr'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1425 psvc_fan_fault_check_policy_0() error: unchecked function return 'strlcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1466 handle_ps_hotplug_children_presence() error: unchecked function return 'snprintf'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1585 psvc_ps_hotplug_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1590 psvc_ps_hotplug_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1597 psvc_ps_hotplug_policy_0() error: unchecked function return 'psvc_get_attr'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1604 psvc_ps_hotplug_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1610 psvc_ps_hotplug_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1616 psvc_ps_hotplug_policy_0() error: unchecked function return 'ptree_get_node_by_path'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1617 psvc_ps_hotplug_policy_0() error: unchecked function return 'ptree_add_node'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1618 psvc_ps_hotplug_policy_0() error: unchecked function return 'snprintf'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1634 psvc_ps_hotplug_policy_0() error: unchecked function return 'ptree_delete_node'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1636 psvc_ps_hotplug_policy_0() error: unchecked function return 'psvc_get_attr'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1655 psvc_ps_hotplug_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1656 psvc_ps_hotplug_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1681 psvc_ps_hotplug_policy_0() error: unchecked function return 'snprintf'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1683 psvc_ps_hotplug_policy_0() error: unchecked function return 'snprintf'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1685 psvc_ps_hotplug_policy_0() error: unchecked function return 'snprintf'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1805 shutdown_routine() error: unchecked function return 'system'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1941 psvc_check_disk_fault_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1942 psvc_check_disk_fault_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1944 psvc_check_disk_fault_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1945 psvc_check_disk_fault_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:2199 psvc_update_cpu_module_card_node_0() error: unchecked function return 'strlcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:2202 psvc_update_cpu_module_card_node_0() error: unchecked function return 'strlcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:2204 psvc_update_cpu_module_card_node_0() error: unchecked function return 'strlcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:2207 psvc_update_cpu_module_card_node_0() error: unchecked function return 'strlcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:2209 psvc_update_cpu_module_card_node_0() error: unchecked function return 'strlcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:2213 psvc_update_cpu_module_card_node_0() error: unchecked function return 'strlcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:2216 psvc_update_cpu_module_card_node_0() error: unchecked function return 'strlcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:2218 psvc_update_cpu_module_card_node_0() error: unchecked function return 'strlcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:2221 psvc_update_cpu_module_card_node_0() error: unchecked function return 'strlcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:2223 psvc_update_cpu_module_card_node_0() error: unchecked function return 'strlcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:2287 remove_module_node() error: unchecked function return 'ptree_delete_node'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:2308 set_temp_sensor_properties() error: unchecked function return 'strcpy'

    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcplugin.c:131 count_records() error: unchecked function return 'fseek'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcplugin.c:149 find_file_section() error: unchecked function return 'fseek'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcplugin.c:179 init_err() error: unchecked function return 'sprintf'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcplugin.c:246 fan_speed_read() error: unchecked function return 'strlcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcplugin.c:249 fan_speed_read() error: unchecked function return 'strlcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcplugin.c:252 fan_speed_read() error: unchecked function return 'pthread_mutex_lock'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcplugin.c:264 fan_speed_read() error: unchecked function return 'pthread_mutex_unlock'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcplugin.c:274 fan_speed_read() error: unchecked function return 'pthread_mutex_unlock'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcplugin.c:281 fan_speed_read() error: unchecked function return 'pthread_mutex_unlock'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcplugin.c:285 fan_speed_read() error: unchecked function return 'pthread_mutex_unlock'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcplugin.c:323 load_projected_properties() error: unchecked function return 'fgets'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcplugin.c:379 load_projected_properties() error: unchecked function return 'ptree_delete_prop'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcplugin.c:380 load_projected_properties() error: unchecked function return 'ptree_destroy_prop'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcplugin.c:425 load_projected_properties() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcplugin.c:442 load_projected_properties() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcplugin.c:501 psvc_psr_plugin_fini() error: unchecked function return 'psvc_fini'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcplugin.c:507 psvc_psr_plugin_register() error: unchecked function return 'picld_plugin_register'

    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:394 psvc_update_thresholds_0() error: unchecked function return 'fprintf'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:395 psvc_update_thresholds_0() error: unchecked function return 'fclose'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:397 psvc_update_thresholds_0() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:470 psvc_check_temperature_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:471 psvc_check_temperature_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:474 psvc_check_temperature_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:475 psvc_check_temperature_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:478 psvc_check_temperature_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:479 psvc_check_temperature_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:482 psvc_check_temperature_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:483 psvc_check_temperature_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:487 psvc_check_temperature_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:488 psvc_check_temperature_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:581 psvc_ps_hotplug_policy_0() error: unchecked function return 'sleep'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:598 psvc_ps_hotplug_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:599 psvc_ps_hotplug_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:600 psvc_ps_hotplug_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:602 psvc_ps_hotplug_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:603 psvc_ps_hotplug_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:604 psvc_ps_hotplug_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:634 psvc_ps_hotplug_policy_0() error: unchecked function return 'ptree_get_node_by_path'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:635 psvc_ps_hotplug_policy_0() error: unchecked function return 'ptree_add_node'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:639 psvc_ps_hotplug_policy_0() error: unchecked function return 'ptree_delete_node'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:653 psvc_ps_hotplug_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:656 psvc_ps_hotplug_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:718 psvc_device_fail_notifier_policy_0() error: unchecked function return 'psvc_get_attr'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:731 psvc_device_fail_notifier_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:732 psvc_device_fail_notifier_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:734 psvc_device_fail_notifier_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:735 psvc_device_fail_notifier_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:754 psvc_device_fail_notifier_policy_0() error: unchecked function return 'psvc_get_attr'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:756 psvc_device_fail_notifier_policy_0() error: unchecked function return 'psvc_get_attr'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:821 check_cpu_temp_fault() error: unchecked function return 'psvc_get_attr'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:845 check_cpu_temp_fault() error: unchecked function return 'system'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:862 psvc_shutdown_policy_0() error: unchecked function return 'psvc_get_attr'

    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcplugin.c:119 init_err() error: unchecked function return 'sprintf'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcplugin.c:178 psvc_psr_plugin_init() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcplugin.c:204 psvc_psr_plugin_fini() error: unchecked function return 'psvc_fini'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcplugin.c:210 psvc_psr_plugin_register() error: unchecked function return 'picld_plugin_register'

    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:410 check_temp() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:411 check_temp() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:412 check_temp() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:427 check_temp() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:428 check_temp() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:429 check_temp() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:444 check_temp() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:445 check_temp() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:446 check_temp() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:461 check_temp() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:462 check_temp() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:463 check_temp() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:478 check_temp() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:479 check_temp() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:480 check_temp() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:501 check_temp() error: unchecked function return 'psvc_get_attr'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:670 psvc_switch_fan_onoff_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:672 psvc_switch_fan_onoff_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:694 check_cpu_temp_fault() error: unchecked function return 'psvc_get_attr'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:710 check_cpu_temp_fault() error: unchecked function return 'system'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:733 psvc_shutdown_policy_0() error: unchecked function return 'psvc_get_attr'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:749 psvc_shutdown_policy_0() error: unchecked function return 'psvc_get_attr'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:817 psvc_keyswitch_position_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:865 psvc_hotplug_notifier_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:870 psvc_hotplug_notifier_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:887 psvc_hotplug_notifier_policy_0() error: unchecked function return 'ptree_delete_node'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:946 psvc_fan_hotplug_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:951 psvc_fan_hotplug_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:959 psvc_fan_hotplug_policy_0() error: unchecked function return 'psvc_get_attr'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:960 psvc_fan_hotplug_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:980 psvc_fan_hotplug_policy_0() error: unchecked function return 'psvc_get_attr'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:981 psvc_fan_hotplug_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:995 psvc_fan_hotplug_policy_0() error: unchecked function return 'ptree_get_node_by_path'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:996 psvc_fan_hotplug_policy_0() error: unchecked function return 'ptree_add_node'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:999 psvc_fan_hotplug_policy_0() error: unchecked function return 'ptree_delete_node'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1053 psvc_ps_overcurrent_check_policy_0() error: unchecked function return 'psvc_get_attr'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1110 psvc_device_fail_notifier_policy_0() error: unchecked function return 'psvc_get_attr'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1123 psvc_device_fail_notifier_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1124 psvc_device_fail_notifier_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1126 psvc_device_fail_notifier_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1127 psvc_device_fail_notifier_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1146 psvc_device_fail_notifier_policy_0() error: unchecked function return 'psvc_get_attr'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1148 psvc_device_fail_notifier_policy_0() error: unchecked function return 'psvc_get_attr'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1153 psvc_device_fail_notifier_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1156 psvc_device_fail_notifier_policy_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1160 psvc_device_fail_notifier_policy_0() error: unchecked function return 'psvc_get_attr'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1208 change_cpu_fans() error: unchecked function return 'psvc_get_attr'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1255 device_temp_check() error: unchecked function return 'psvc_get_attr'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1295 psvc_fan_control_policy_0() error: unchecked function return 'psvc_get_attr'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1390 psvc_fan_present_policy_0() error: unchecked function return 'fprintf'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1391 psvc_fan_present_policy_0() error: unchecked function return 'fclose'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcpolicy.c:1393 psvc_fan_present_policy_0() error: unchecked function return 'close'

    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcplugin.c:350 psvcplugin_add_children() error: unchecked function return 'ptree_get_node_by_path'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcplugin.c:351 psvcplugin_add_children() error: unchecked function return 'ptree_add_node'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcplugin.c:509 lock_and_run() error: unchecked function return 'psvc_get_attr'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcplugin.c:1211 create_reference_properties() warn: possible memory leak of 'dep_list'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcplugin.c:1223 create_reference_properties() warn: possible memory leak of 'dep_list'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcplugin.c:1445 load_associations() warn: possible memory leak of 'assoc_tbl'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcplugin.c:1703 psvc_plugin_init() error: buffer overflow 'class_name' 12 <= 12
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcplugin.c:1766 psvc_plugin_init() error: strcpy() 'buf' too large for 'psvc_paths[i]->parent_path' (512 vs 256)
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcplugin.c:1804 psvc_plugin_fini() error: unchecked function return 'psvc_fini'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcplugin.c:1810 psvc_plugin_register() error: unchecked function return 'picld_plugin_register'

    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:294 i_psvc_value() error: unchecked function return 'snprintf'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:309 i_psvc_value() error: unchecked function return 'snprintf'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:323 i_psvc_value() error: unchecked function return 'snprintf'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:335 i_psvc_value() error: unchecked function return 'strncpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:339 i_psvc_value() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:401 i_psvc_count_records() error: unchecked function return 'fseek'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:425 i_psvc_count_tables_associations() error: unchecked function return 'fseek'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:452 i_psvc_count_table_records() error: unchecked function return 'fseek'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:598 psvc_get_attr() error: unchecked function return 'pthread_mutex_lock'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:602 psvc_get_attr() error: unchecked function return 'pthread_mutex_unlock'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:630 psvc_get_attr() error: unchecked function return 'pthread_mutex_unlock'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:638 psvc_get_attr() error: unchecked function return 'pthread_mutex_unlock'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:642 psvc_get_attr() error: unchecked function return 'pthread_mutex_unlock'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:652 psvc_set_attr() error: unchecked function return 'pthread_mutex_lock'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:655 psvc_set_attr() error: unchecked function return 'pthread_mutex_unlock'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:661 psvc_set_attr() error: unchecked function return 'pthread_mutex_unlock'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:667 psvc_set_attr() error: unchecked function return 'pthread_mutex_unlock'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:671 psvc_set_attr() error: unchecked function return 'pthread_mutex_unlock'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:703 i_psvc_get_presence() error: unchecked function return 'pobjp->get_attr'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1152 i_psvc_get_device_state_2_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1154 i_psvc_get_device_state_2_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1157 i_psvc_get_device_state_2_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1159 i_psvc_get_device_state_2_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1197 i_psvc_set_device_state_2_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1198 i_psvc_set_device_state_2_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1250 i_psvc_get_device_state_2_1() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1253 i_psvc_get_device_state_2_1() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1256 i_psvc_get_device_state_2_1() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1259 i_psvc_get_device_state_2_1() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1290 i_psvc_set_device_state_2_1() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1291 i_psvc_set_device_state_2_1() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1348 i_psvc_get_device_state_9_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1373 i_psvc_get_device_state_9_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1398 i_psvc_get_device_state_9_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1423 i_psvc_get_device_state_9_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1587 i_psvc_get_device_state_8_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1589 i_psvc_get_device_state_8_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1592 i_psvc_get_device_state_8_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1594 i_psvc_get_device_state_8_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1613 i_psvc_set_device_state_8_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1614 i_psvc_set_device_state_8_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1661 i_psvc_get_temperature_11_2() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1667 i_psvc_get_temperature_11_2() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1691 i_psvc_get_temperature_11_4() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1697 i_psvc_get_temperature_11_4() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1720 i_psvc_get_temperature_11_6() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1725 i_psvc_get_temperature_11_6() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1748 i_psvc_get_fanspeed_11_7() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1753 i_psvc_get_fanspeed_11_7() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1776 i_psvc_get_input_11_6() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1781 i_psvc_get_input_11_6() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1804 i_psvc_get_output_11_3() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1809 i_psvc_get_output_11_3() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1832 i_psvc_get_output_11_6() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1837 i_psvc_get_output_11_6() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1861 i_psvc_get_output_11_8() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1867 i_psvc_get_output_11_8() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1890 i_psvc_set_output_11_3() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1895 i_psvc_set_output_11_3() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1918 i_psvc_set_output_11_6() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1923 i_psvc_set_output_11_6() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1948 i_psvc_set_output_11_8() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1953 i_psvc_set_output_11_8() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1978 i_psvc_get_reg_11_1() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:1987 i_psvc_get_reg_11_1() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2013 i_psvc_get_reg_11_7() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2023 i_psvc_get_reg_11_7() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2055 i_psvc_set_reg_11_1() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2068 i_psvc_set_reg_11_1() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2073 i_psvc_set_reg_11_1() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2105 i_psvc_set_reg_11_7() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2118 i_psvc_set_reg_11_7() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2123 i_psvc_set_reg_11_7() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2150 i_psvc_get_bit_11_5() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2157 i_psvc_get_bit_11_5() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2183 i_psvc_get_port_11_5() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2190 i_psvc_get_port_11_5() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2217 i_psvc_get_bit_11_7() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2224 i_psvc_get_bit_11_7() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2251 i_psvc_set_bit_11_5() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2256 i_psvc_set_bit_11_5() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2282 i_psvc_set_port_11_5() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2287 i_psvc_set_port_11_5() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2315 i_psvc_set_bit_11_7() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2320 i_psvc_set_bit_11_7() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2351 i_psvc_probe_11_0() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2356 i_psvc_probe_11_0() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2386 i_psvc_probe_11_1() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2391 i_psvc_probe_11_1() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2422 i_psvc_probe_11_2() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2427 i_psvc_probe_11_2() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2458 i_psvc_probe_11_3() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2465 i_psvc_probe_11_3() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2470 i_psvc_probe_11_3() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2500 i_psvc_probe_11_4() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2505 i_psvc_probe_11_4() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2538 i_psvc_probe_11_5() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2543 i_psvc_probe_11_5() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2572 i_psvc_probe_11_6() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2577 i_psvc_probe_11_6() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2608 i_psvc_probe_11_7() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2613 i_psvc_probe_11_7() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2642 i_psvc_probe_11_8() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2647 i_psvc_probe_11_8() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2685 i_psvc_probe_11_9() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2690 i_psvc_probe_11_9() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2709 i_psvc_find_file_section() error: unchecked function return 'fseek'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2761 i_psvc_init_state() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2763 i_psvc_init_state() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2773 i_psvc_init_state() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2816 i_psvc_get_obj() error: unchecked function return 'fgets'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2850 i_psvc_get_obj() error: unchecked function return 'fgets'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2879 i_psvc_get_devpath() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2917 i_psvc_load_associations() error: unchecked function return 'fgets'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2946 i_psvc_load_associations() error: unchecked function return 'fgets'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2957 i_psvc_load_associations() error: unchecked function return 'fgets'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:2994 i_psvc_load_tables() error: unchecked function return 'fgets'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:3000 i_psvc_load_tables() error: unchecked function return 'fgets'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:3014 i_psvc_load_tables() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:3084 i_psvc_load_tables() error: unchecked function return 'fgets'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:3085 i_psvc_load_tables() error: unchecked function return 'fgets'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:3143 i_psvc_get_attr_generic() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:3146 i_psvc_get_attr_generic() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:3152 i_psvc_get_attr_generic() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:3158 i_psvc_get_attr_generic() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:3172 i_psvc_get_attr_generic() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:3196 i_psvc_set_attr_generic() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:3197 i_psvc_set_attr_generic() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:3203 i_psvc_set_attr_generic() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:3376 i_psvc_get_attr_2_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:3414 i_psvc_get_attr_2_1() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:3452 i_psvc_get_attr_2_2() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:3458 i_psvc_get_attr_2_2() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:3461 i_psvc_get_attr_2_2() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:3626 i_psvc_get_attr_9_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:3713 i_psvc_get_attr_11_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:3715 i_psvc_get_attr_11_0() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:3754 i_psvc_get_reg_11_0() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:3763 i_psvc_get_reg_11_0() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:3770 i_psvc_get_reg_11_0() error: unchecked function return 'close'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:3784 i_psvc_get_attr_11_1() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:3786 i_psvc_get_attr_11_1() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:3804 i_psvc_get_attr_11_2() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:3806 i_psvc_get_attr_11_2() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:3824 i_psvc_get_attr_11_3() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:3826 i_psvc_get_attr_11_3() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:3844 i_psvc_get_attr_11_4() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:3846 i_psvc_get_attr_11_4() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:3864 i_psvc_get_attr_11_5() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:3866 i_psvc_get_attr_11_5() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:3884 i_psvc_get_attr_11_6() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:3886 i_psvc_get_attr_11_6() error: unchecked function return 'strcpy
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:3904 i_psvc_get_attr_11_7() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:3906 i_psvc_get_attr_11_7() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:3924 i_psvc_get_attr_11_8() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:3926 i_psvc_get_attr_11_8() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:3944 i_psvc_get_attr_11_9() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:3946 i_psvc_get_attr_11_9() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:3985 i_psvc_load_generic() error: unchecked function return 'fgets'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:3999 i_psvc_load_generic() error: unchecked function return 'fgets'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:4009 i_psvc_load_generic() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:4010 i_psvc_load_generic() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:4015 i_psvc_load_generic() error: unchecked function return 'i_psvc_destructor'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:4020 i_psvc_load_generic() error: unchecked function return 'i_psvc_destructor'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:4025 i_psvc_load_generic() error: unchecked function return 'i_psvc_destructor'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:4030 i_psvc_load_generic() error: unchecked function return 'i_psvc_destructor'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:4035 i_psvc_load_generic() error: unchecked function return 'i_psvc_destructor'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:4046 i_psvc_load_generic() error: unchecked function return 'i_psvc_destructor'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:4084 i_psvc_constructor_0_0() error: unchecked function return 'i_psvc_destructor'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:4089 i_psvc_constructor_0_0() error: unchecked function return 'i_psvc_destructor'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:4094 i_psvc_constructor_0_0() error: unchecked function return 'i_psvc_destructor'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:4099 i_psvc_constructor_0_0() error: unchecked function return 'i_psvc_destructor'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:4131 i_psvc_constructor_0_1() error: unchecked function return 'i_psvc_destructor'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:4136 i_psvc_constructor_0_1() error: unchecked function return 'i_psvc_destructor'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:4141 i_psvc_constructor_0_1() error: unchecked function return 'i_psvc_destructor'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:4146 i_psvc_constructor_0_1() error: unchecked function return 'i_psvc_destructor'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:4153 i_psvc_constructor_0_1() error: unchecked function return 'i_psvc_destructor'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:4160 i_psvc_constructor_0_1() error: unchecked function return 'i_psvc_destructor'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:4167 i_psvc_constructor_0_1() error: unchecked function return 'i_psvc_destructor'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:4200 i_psvc_constructor_1_0() error: unchecked function return 'i_psvc_destructor'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:4205 i_psvc_constructor_1_0() error: unchecked function return 'i_psvc_destructor'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:4210 i_psvc_constructor_1_0() error: unchecked function return 'i_psvc_destructor'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:4215 i_psvc_constructor_1_0() error: unchecked function return 'i_psvc_destructor'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:4249 i_psvc_constructor_2_0() error: unchecked function return 'i_psvc_destructor'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:4281 i_psvc_constructor_2_1() error: unchecked function return 'i_psvc_destructor'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:4313 i_psvc_constructor_2_2() error: unchecked function return 'i_psvc_destructor'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:4318 i_psvc_constructor_2_2() error: unchecked function return 'i_psvc_destructor'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:4324 i_psvc_constructor_2_2() error: unchecked function return 'i_psvc_destructor'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:4328 i_psvc_constructor_2_2() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:4386 i_psvc_constructor_4_0() error: unchecked function return 'i_psvc_destructor'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:4391 i_psvc_constructor_4_0() error: unchecked function return 'i_psvc_destructor'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:4396 i_psvc_constructor_4_0() error: unchecked function return 'i_psvc_destructor'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:4401 i_psvc_constructor_4_0() error: unchecked function return 'i_psvc_destructor'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:4486 i_psvc_constructor_7_0() error: unchecked function return 'i_psvc_destructor'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:4491 i_psvc_constructor_7_0() error: unchecked function return 'i_psvc_destructor'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:4496 i_psvc_constructor_7_0() error: unchecked function return 'i_psvc_destructor'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:4501 i_psvc_constructor_7_0() error: unchecked function return 'i_psvc_destructor'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:5046 psvc_init() error: unchecked function return 'pthread_mutexattr_destroy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:5053 psvc_init() error: unchecked function return 'snprintf'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:5069 psvc_init() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:5120 psvc_init() error: unchecked function return 'fgets'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:5129 psvc_init() error: unchecked function return 'strcpy'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:5164 psvc_fini() error: unchecked function return 'array->obj_tbl[i]->objp->destructor'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:5193 psvc_fini() error: unchecked function return 'fclose'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: psvcobj.c:5194 psvc_fini() error: unchecked function return 'pthread_mutex_destroy'

    piclenvsetup.c: In function 'add_sensor_nodes_and_props':
    piclenvsetup.c:510: error: comparison between pointer and integer
    piclenvsetup.c: In function 'delete_sensor_nodes_and_props':
    piclenvsetup.c:631: error: comparison between pointer and integer
    piclenvsetup.c:634: error: assignment makes integer from pointer without a cast
    piclenvsetup.c:637: error: comparison between pointer and integer
    piclenvsetup.c:641: error: assignment makes integer from pointer without a cast
    piclenvsetup.c:642: error: assignment makes integer from pointer without a cast
    piclenvsetup.c: In function 'add_fan_nodes_and_props':
    piclenvsetup.c:685: error: comparison between pointer and integer
    piclenvsetup.c: In function 'delete_fan_nodes_and_props':
    piclenvsetup.c:773: error: comparison between pointer and integer
    piclenvsetup.c:776: error: assignment makes integer from pointer without a cast
    piclenvsetup.c: In function 'env_picl_setup':
    piclenvsetup.c:845: error: assignment makes integer from pointer without a cast
    piclenvsetup.c:846: error: assignment makes integer from pointer without a cast
    piclenvsetup.c:847: error: assignment makes integer from pointer without a cast
    piclenvsetup.c:848: error: assignment makes integer from pointer without a cast
    piclenvsetup.c:856: error: assignment makes integer from pointer without a cast
    piclenvsetup.c:857: error: assignment makes integer from pointer without a cast

    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclenvd.c:2742 piclenvd_register() error: unchecked function return 'picld_plugin_register'

    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclenvd.c:672 envthr() error: unchecked function return 'pthread_mutex_lock'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclenvd.c:675 envthr() error: unchecked function return 'pthread_mutex_unlock'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclenvd.c:741 pmthr() error: unchecked function return 'pthread_mutex_lock'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclenvd.c:742 pmthr() error: unchecked function return 'pthread_cond_signal'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclenvd.c:743 pmthr() error: unchecked function return 'pthread_mutex_unlock'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclenvd.c:754 pmthr() error: unchecked function return 'pthread_mutex_lock'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclenvd.c:755 pmthr() error: unchecked function return 'pthread_cond_signal'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclenvd.c:756 pmthr() error: unchecked function return 'pthread_mutex_unlock'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclenvd.c:1014 piclenvd_register() error: unchecked function return 'picld_plugin_register'

    piclenvsetup.c: In function 'add_sensor_nodes_and_props':
    piclenvsetup.c:487: error: comparison between pointer and integer
    piclenvsetup.c: In function 'delete_sensor_nodes_and_props':
    piclenvsetup.c:593: error: comparison between pointer and integer
    piclenvsetup.c:596: error: assignment makes integer from pointer without a cast
    piclenvsetup.c:599: error: comparison between pointer and integer
    piclenvsetup.c:603: error: assignment makes integer from pointer without a cast
    piclenvsetup.c:604: error: assignment makes integer from pointer without a cast
    piclenvsetup.c: In function 'add_fan_nodes_and_props':
    piclenvsetup.c:647: error: comparison between pointer and integer
    piclenvsetup.c: In function 'delete_fan_nodes_and_props':
    piclenvsetup.c:735: error: comparison between pointer and integer
    piclenvsetup.c:738: error: assignment makes integer from pointer without a cast
    piclenvsetup.c: In function 'env_picl_setup':
    piclenvsetup.c:796: error: assignment makes integer from pointer without a cast
    piclenvsetup.c:797: error: assignment makes integer from pointer without a cast
    piclenvsetup.c:798: error: assignment makes integer from pointer without a cast
    piclenvsetup.c:806: error: assignment makes integer from pointer without a cast
    piclenvsetup.c:807: error: assignment makes integer from pointer without a cast

    piclmemcfg.c: In function 'create_logical_tree':
    piclmemcfg.c:104: error: assignment makes integer from pointer without a cast
    piclmemcfg.c:168: error: comparison between pointer and integer
    piclmemcfg.c:188: error: comparison between pointer and integer
    piclmemcfg.c: In function 'create_physical_tree':
    piclmemcfg.c:277: error: assignment makes integer from pointer without a cast

    fru_data.c: In function 'frudata_state_change_evhandler':
    fru_data.c:2183: error: passing argument 4 of 'nvlist_unpack' makes integer from pointer without a cast
    /code/illumos-gate/proto/root_sparc/usr/include/sys/nvpair.h:159: note: expected 'int' but argument is of type 'void *'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: fru_data.c:203 lock_container_lock() error: unchecked function return 'pthread_cond_wait'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: fru_data.c:1920 frudata_write_section() error: unchecked function return 'pthread_cond_wait'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: fru_data.c:2439 free_hash_table() error: unchecked function return 'pthread_cond_broadcast'

    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: piclenvmon.c:696 get_fan_data() warn: assigning s16min to unsigned variable '*speed'

    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: crcutils.c:152 compute_checksum32() warn: potential negative subtraction from max '4294967295 - regval'
    /code/illumos-gate/usr/src/tools/proto/root_sparc-nd/opt/onbld/bin/sparc/smatch: crcutils.c:153 compute_checksum32() warn: potential negative subtraction from max '4294967295 - regval'

    fru_access.c: In function 'fru_open_container':
    fru_access.c:780: error: return makes integer from pointer without a cast
    fru_access.c:787: error: return makes integer from pointer without a cast
    fru_access.c:793: error: return makes integer from pointer without a cast
    fru_access.c:798: error: return makes integer from pointer without a cast
    fru_access.c:803: error: return makes integer from pointer without a cast
    fru_access.c:809: error: return makes integer from pointer without a cast
    fru_access.c:814: error: return makes integer from pointer without a cast
    fru_access.c:826: error: return makes integer from pointer without a cast
    fru_access.c:864: error: return makes integer from pointer without a cast
    fru_access.c:873: error: return makes integer from pointer without a cast

    libpiclfrudata: unused search path=/usr/lib/picl/plugins

    libpiclfrudr.so.1: unused search path

    libfcal_leds.so: unused search path

    ld: guidance: removal of unused dependency recommended: libpiclmemcfg.so.1

    ld: guidance: removal of unused dependency recommended: libcfgadm.so.1

    ld: guidance: removal of unused dependency recommended: libpicldevtree.so.1

    ld: guidance: removal of unused dependency recommended: libdevinfo.so.1

    ld: guidance: removal of unused dependency recommended: libpiclfrutree.so.1

Also available in: Atom PDF