Further whitespace and copyright cleanups to minimize the
delta with RELENG_7.
This commit is contained in:
parent
aa819acf89
commit
c5f0f48581
@ -31,7 +31,6 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||
***************************************************************************/
|
||||
#ifndef _CXGB_CONFIG_H_
|
||||
#define _CXGB_CONFIG_H_
|
||||
|
||||
#ifndef CONFIG_DEFINED
|
||||
#define CONFIG_CHELSIO_T3_CORE
|
||||
#endif
|
||||
|
@ -334,7 +334,7 @@ cxgb_get_adapter_info(device_t dev)
|
||||
{
|
||||
struct cxgb_ident *id;
|
||||
const struct adapter_info *ai;
|
||||
|
||||
|
||||
id = cxgb_get_ident(dev);
|
||||
if (id == NULL)
|
||||
return (NULL);
|
||||
@ -351,7 +351,7 @@ cxgb_controller_probe(device_t dev)
|
||||
char *ports, buf[80];
|
||||
int nports;
|
||||
struct adapter *sc = device_get_softc(dev);
|
||||
|
||||
|
||||
ai = cxgb_get_adapter_info(dev);
|
||||
if (ai == NULL)
|
||||
return (ENXIO);
|
||||
|
@ -1,7 +1,7 @@
|
||||
|
||||
/**************************************************************************
|
||||
|
||||
Copyright (c) 2007, Chelsio Inc.
|
||||
Copyright (c) 2007-2008, Chelsio Inc.
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
|
@ -169,7 +169,7 @@ void prefetch(void *x)
|
||||
extern void kdb_backtrace(void);
|
||||
|
||||
#define WARN_ON(condition) do { \
|
||||
if (__predict_false((condition)!=0)) { \
|
||||
if (__predict_false((condition)!=0)) { \
|
||||
log(LOG_WARNING, "BUG: warning at %s:%d/%s()\n", __FILE__, __LINE__, __FUNCTION__); \
|
||||
kdb_backtrace(); \
|
||||
} \
|
||||
|
Loading…
Reference in New Issue
Block a user