Print this page
10097 indenting fixes in usr/src/{lib,common}
*** 20,30 ****
*
* Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
! #pragma ident "%Z%%M% %I% %E% SMI"
#include <mcamd_api.h>
#include <mcamd_err.h>
#include <mcamd_rowcol_impl.h>
--- 20,32 ----
*
* Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
! /*
! * Copyright (c) 2018, Joyent, Inc.
! */
#include <mcamd_api.h>
#include <mcamd_err.h>
#include <mcamd_rowcol_impl.h>
*** 566,577 ****
}
if (cs == NULL) {
mcamd_dprintf(hdl, MCAMD_DBG_ERR, "mcamd_offset_to_pa: "
"failed to find cs for bad cs#%d\n", mcp.badcs);
! return (mcamd_set_errno(hdl,
! EMCAMD_TREEINVALID));
}
/* found bad cs - reread properties from it instead of spare */
if (getcsprops(hdl, cs, "mc_offset_to_pa", &csp) < 0)
return (-1); /* errno already set */
--- 568,578 ----
}
if (cs == NULL) {
mcamd_dprintf(hdl, MCAMD_DBG_ERR, "mcamd_offset_to_pa: "
"failed to find cs for bad cs#%d\n", mcp.badcs);
! return (mcamd_set_errno(hdl, EMCAMD_TREEINVALID));
}
/* found bad cs - reread properties from it instead of spare */
if (getcsprops(hdl, cs, "mc_offset_to_pa", &csp) < 0)
return (-1); /* errno already set */