linux/drivers/mxc/security/sahara2/include/diagnostic.h File Reference

Macros for outputting kernel and user space diagnostics. More...

Defines

#define LOG_DIAG(diag)

Detailed Description

Macros for outputting kernel and user space diagnostics.


Define Documentation

#define LOG_DIAG ( diag   ) 
Value:
({                                                                  \
    const char* fname = strrchr(__FILE__, '/');                           \
                                                                    \
     sah_Log_Diag(fname ? fname+1 : __FILE__, __LINE__, diag);     \
})

This macro logs diagnostic messages to stderr.

Parameters:
diag String that must be logged, char *.
Returns:
void

Referenced by fsl_shw_establish_key().

footer
©  Freescale Semiconductor, Inc., 2007.  All rights reserved.
Freescale Confidential Proprietary
NDA Required
doxygen