From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752721AbbJWJdg (ORCPT ); Fri, 23 Oct 2015 05:33:36 -0400 Received: from shards.monkeyblade.net ([149.20.54.216]:33430 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750862AbbJWJdf (ORCPT ); Fri, 23 Oct 2015 05:33:35 -0400 Date: Fri, 23 Oct 2015 02:50:05 -0700 (PDT) Message-Id: <20151023.025005.1155789583520008596.davem@davemloft.net> To: hannes@stressinduktion.org Cc: linux-kernel@vger.kernel.org, netdev@vger.kernel.org, dvyukov@google.com Subject: Re: [PATCH net RESEND 0/2] overflow-arith: begin to add support for overflow builtins functions From: David Miller In-Reply-To: <1444987963-15327-1-git-send-email-hannes@stressinduktion.org> References: <1444987963-15327-1-git-send-email-hannes@stressinduktion.org> X-Mailer: Mew version 6.4 on Emacs 23.4 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Fri, 23 Oct 2015 02:33:35 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Hannes Frederic Sowa Date: Fri, 16 Oct 2015 11:32:41 +0200 > I add a new header, linux/overflow-arith.h, as the central place to add > overflow and wrap-around checking functions. The reason I am doing so > is that it can make use of compiler supported builtin functions which > can leverage hardware. > > As I need this for a fix in the ipv6 stack, which is also included in > this series, I propose to add it sooner than later over Davem's net > tree. This is also the reason why I start slowly with only the one > function I need at this time. > > Thanks for reviewing! Series applied, thanks Hannes.