PERFORCE change 127545 for review

Kip Macy kmacy at FreeBSD.org
Sun Oct 14 21:40:58 PDT 2007


http://perforce.freebsd.org/chv.cgi?CH=127545

Change 127545 by kmacy at kmacy_home:ethng on 2007/10/15 04:40:00

	container_of is defined in linux_compat.h now

Affected files ...

.. //depot/projects/ethng/src/sys/dev/cxgb/cxgb_adapter.h#23 edit

Differences ...

==== //depot/projects/ethng/src/sys/dev/cxgb/cxgb_adapter.h#23 (text+ko) ====

@@ -568,7 +568,6 @@
  */
 #define desc_reclaimable(q) ((int)((q)->processed - (q)->cleaned - TX_MAX_DESC))
 
-#define container_of(p, stype, field) ((stype *)(((uint8_t *)(p)) - offsetof(stype, field))) 
 
 static __inline struct sge_qset *
 fl_to_qset(struct sge_fl *q, int qidx)


More information about the p4-projects mailing list