variable length array in qib

2010-06-02 Thread Roland Dreier
qib has the code void qib_disarm_piobufs_set(struct qib_devdata *dd, unsigned long *mask, unsigned cnt) { struct qib_pportdata *ppd, *pppd[dd-num_pports]; it would probably be safer to avoid the variable length array pppd[] on

Re: variable length array in qib

2010-06-02 Thread Ralph Campbell
Sure. I will work on a patch. On Wed, 2010-06-02 at 14:37 -0700, Roland Dreier wrote: qib has the code void qib_disarm_piobufs_set(struct qib_devdata *dd, unsigned long *mask, unsigned cnt) { struct qib_pportdata *ppd,