[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20131114171758.GA10196@ws>
Date: Thu, 14 Nov 2013 14:17:58 -0300
From: Werner Almesberger <werner@...esberger.net>
To: Alexander Aring <alex.aring@...il.com>
Cc: alex.bluesman.smirnov@...il.com,
linux-zigbee-devel@...ts.sourceforge.net,
jukka.rissanen@...ux.intel.com, dbaryshkov@...il.com,
netdev@...r.kernel.org
Subject: Re: [PATCH net-next 1/6] 6lowpan: fix udp nullpointer dereferencing
Alexander Aring wrote:
> - **(hc06_ptr + 3) = (u8)(uh->dest - LOWPAN_NHC_UDP_8BIT_PORT);
> + *(*hc06_ptr + 3) = (u8)(uh->dest - LOWPAN_NHC_UDP_8BIT_PORT);
This patch series looks like having an opportunity for killing some
unnecessary casts, too :) That is, unless you aim to be -Wconversion
clean, but the kernel is full of things -Wconversion would complain
about.
- Werner
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists