[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CF9C39F99A89134C9CF9C4CCB68B8DDF25CC45047A@orsmsx501.amr.corp.intel.com>
Date: Fri, 11 Feb 2011 15:09:03 -0800
From: "Hefty, Sean" <sean.hefty@...el.com>
To: Jesper Juhl <jj@...osbits.net>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
CC: "linux-rdma@...r.kernel.org" <linux-rdma@...r.kernel.org>,
Eli Cohen <eli@...lanox.co.il>, Julia Lawall <julia@...u.dk>,
Andrew Morton <akpm@...ux-foundation.org>,
Hal Rosenstock <hal.rosenstock@...il.com>,
Roland Dreier <roland@...nel.org>
Subject: RE: [PATCH][RFC] infiniband: Fix allocation size in
register_snoop_agent()
> Ok, someone needs to double check me on this before merging anything, but
> don't we want to allocate sizeof(struct ib_mad_snoop_private) here, rather
> than just the size of a pointer to the struct?
new_snoop_table is declared as:
struct ib_mad_snoop_private **new_snoop_table;
It should point to an array of pointers.
- Sean
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists