Print this page
10703 smatch unreachable code checking needs reworking
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Yuri Pankov <yuri.pankov@nexenta.com>

*** 20,30 **** */ /* * Copyright (c) 1994, 2010, Oracle and/or its affiliates. All rights reserved. */ /* ! * Copyright (c) 2013, Joyent, Inc. All rights reserved. */ /* * Layered driver support. */ --- 20,30 ---- */ /* * Copyright (c) 1994, 2010, Oracle and/or its affiliates. All rights reserved. */ /* ! * Copyright 2019 Joyent, Inc. */ /* * Layered driver support. */
*** 3491,3501 **** evname, (void *)dip)); if (!ldi_ev_sync_event(evname)) { cmn_err(CE_PANIC, "ldi_ev_notify(): %s not a " "negotiatable event", evname); - return (LDI_EV_SUCCESS); } major = ddi_driver_major(dip); if (major == DDI_MAJOR_T_NONE) { char *path = kmem_alloc(MAXPATHLEN, KM_SLEEP); --- 3491,3500 ----