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
the kernel stack here... could this code be easily refactored to avoid
doing that?
-- 
Roland Dreier <[email protected]> || For corporate legal information go to:
http://www.cisco.com/web/about/doing_business/legal/cri/index.html
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to