Dave Olson 164ef7a252 IB/ipath: Fix incorrect use of sizeof on msg buffer (function argument)
Inside a function declared as

    void foo(char bar[512])

the value of sizeof bar is the size of a pointer, not 512.  So avoid
constructions like this by passing the size explicitly.

Also reduce the size of the buffer to 128 bytes (512 was overly generous).

Signed-off-by: Dave Olson <dave.olson@qlogic.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
2007-10-30 11:05:49 -07:00
..
2007-10-17 08:42:52 -07:00
2007-10-22 21:19:53 +02:00
2007-08-22 19:52:46 -07:00
2007-10-23 15:49:55 +10:00
2007-10-16 09:43:09 -07:00
2007-10-19 11:53:42 -07:00
2007-10-20 00:47:32 +02:00
2007-10-20 01:34:40 +02:00
2007-10-23 09:49:29 +02:00
2007-10-19 23:22:55 +02:00
2007-10-20 01:55:58 +02:00
2007-10-23 15:49:56 +10:00
2007-10-20 01:34:40 +02:00
2007-10-20 01:34:40 +02:00
2007-10-22 21:19:53 +02:00
2007-10-23 09:49:31 +02:00
2007-10-23 09:49:33 +02:00
2007-10-19 11:53:41 -07:00
2007-10-19 11:53:41 -07:00
2007-10-20 01:34:40 +02:00
2007-10-23 09:17:53 +02:00
2007-10-20 15:04:06 -07:00
2007-10-16 21:04:11 -04:00
2007-10-17 08:42:57 -07:00
2007-10-22 21:19:53 +02:00
2007-10-23 15:49:54 +10:00
2007-10-23 15:49:54 +10:00