On Wed, Feb 17, 2016 at 11:31:31AM +0200, Max Gurtovoy wrote: > maybe we can define it once as: > static inline struct isert_cmd * > isert_tx_to_cmd(iser_tx_desc *tx_desc) > { > return container_of(tx_desc, struct isert_cmd, tx_desc); > } > in the .h file ? Sure. -- To unsubscribe from this list: send the line "unsubscribe target-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html