From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Marek Lindner Date: Tue, 17 Apr 2012 10:32:44 +0200 References: <1334402127-5211-1-git-send-email-ordex@autistici.org> <1334402127-5211-2-git-send-email-ordex@autistici.org> In-Reply-To: <1334402127-5211-2-git-send-email-ordex@autistici.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201204171032.44782.lindner_marek@yahoo.de> Subject: Re: [B.A.T.M.A.N.] [PATCH 1/2] batman-adv: convert bat_priv->tt_crc from atomic_t to uint16_t Reply-To: The list for a Better Approach To Mobile Ad-hoc Networking List-Id: The list for a Better Approach To Mobile Ad-hoc Networking List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: The list for a Better Approach To Mobile Ad-hoc Networking On Saturday, April 14, 2012 13:15:26 Antonio Quartulli wrote: > In the code we neever need to atomically check and set the bat_priv->tt_crc > field value. It is simply set and read once in different pieces of the > code. Therefore this field can be safely be converted from atomic_t to > uint16_t. Applied in revision 7d256a1. Thanks, Marek