Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1493899

Re: [PATCH v1] mlx4: remove unused fields

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH v1] mlx4: remove unused fields
Date 2016-09-30 08:00 +0200
Message-ID <smZ1w-6b5-15@gated-at.bofh.it> (permalink)
References <smrsR-1Ie-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: David Decotigny <ddecotig@gmail.com>
Date: Wed, 28 Sep 2016 11:00:04 -0700

> From: David Decotigny <decot@googlers.com>
> 
> This also can address following UBSAN warnings:
> [   36.640343] ================================================================================
> [   36.648772] UBSAN: Undefined behaviour in drivers/net/ethernet/mellanox/mlx4/fw.c:857:26
> [   36.656853] shift exponent 64 is too large for 32-bit type 'int'
> [   36.663348] ================================================================================
> [   36.671783] ================================================================================
> [   36.680213] UBSAN: Undefined behaviour in drivers/net/ethernet/mellanox/mlx4/fw.c:861:27
> [   36.688297] shift exponent 35 is too large for 32-bit type 'int'
> [   36.694702] ================================================================================
> 
> Tested:
>   reboot with UBSAN, no warning.
> 
> Signed-off-by: David Decotigny <decot@googlers.com>

Applied to net-next, thanks.

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH v1] mlx4: remove unused fields David Decotigny <ddecotig@gmail.com> - 2016-09-28 20:10 +0200
  Re: [PATCH v1] mlx4: remove unused fields Eric Dumazet <eric.dumazet@gmail.com> - 2016-09-28 20:20 +0200
  Re: [PATCH v1] mlx4: remove unused fields Tariq Toukan <ttoukan.linux@gmail.com> - 2016-09-29 09:50 +0200
  Re: [PATCH v1] mlx4: remove unused fields David Miller <davem@davemloft.net> - 2016-09-30 08:00 +0200

csiph-web