Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Oct 2007 04:40:56 GMT
From:      Kip Macy <kmacy@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 127545 for review
Message-ID:  <200710150440.l9F4euw8085447@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=127545

Change 127545 by kmacy@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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710150440.l9F4euw8085447>