Print this page
11227 smb code needs smatch fixes

*** 17,26 **** --- 17,27 ---- * information: Portions Copyright [yyyy] [name of copyright owner] * * CDDL HEADER END */ /* + * Copyright 2019 Joyent, Inc. * Copyright 2015 Nexenta Systems, Inc. All rights reserved. * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ /*
*** 231,241 **** * Place the successor, if any, in nn. */ #define MFREE(m, nn) \ { \ if ((m)->m_flags & M_EXT) { \ ! (*((m)->m_ext.ext_ref))((m)->m_ext.ext_buf, \ (m)->m_ext.ext_size, -1); \ (m)->m_ext.ext_buf = 0; \ } \ (nn) = (m)->m_next; \ (m)->m_next = 0; \ --- 232,243 ---- * Place the successor, if any, in nn. */ #define MFREE(m, nn) \ { \ if ((m)->m_flags & M_EXT) { \ ! (void) (*((m)->m_ext.ext_ref)) \ ! ((m)->m_ext.ext_buf, \ (m)->m_ext.ext_size, -1); \ (m)->m_ext.ext_buf = 0; \ } \ (nn) = (m)->m_next; \ (m)->m_next = 0; \