Mark Spender 1dcd3a9895 net/sfc/base: fix shift by more bits than field width
This was probably an oversight when support for multiple sensor pages
was added.

Despite being undefined behaviour in C, it probably worked on Intel
x32/x64 as on them bit shift operations wrap round.

Fixes: dfb3b1ce15f6 ("net/sfc/base: import monitors access via MCDI")
Cc: stable@dpdk.org

Signed-off-by: Mark Spender <mspender@solarflare.com>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
2019-06-20 23:42:04 +02:00
..

   SPDX-License-Identifier: BSD-3-Clause

   Copyright (c) 2006-2018 Solarflare Communications Inc.
   All rights reserved.

Solarflare libefx driver library
================================

This directory contains source code of Solarflare Communications libefx
driver library of version v4.10.0.1012.

Updating
========

The source code in this directory should not be modified.
Please contact the driver maintainers to request changes.