Thread (11 messages) 11 messages, 3 authors, 2011-01-13

Re: [patch] phonet: some signedness bugs

From: Rémi Denis-Courmont <hidden>
Date: 2011-01-10 07:58:25
Also in: kernel-janitors

On Friday 07 January 2011 22:37:55 ext Dan Carpenter, you wrote:
Dan Rosenberg pointed out that there were some signed comparison bugs
in the phonet protocol.
There are two ways to solve this: change *only* the proto_get function to use 
an unsigned parameter, or cast the protocol to unsigned in the comparison.

As David pointed out, your patch breaks the socket() callback prototype.

-- 
Rémi Denis-Courmont
Nokia Devices R&D, Maemo Software, Helsinki
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help