diff options
| author | 2019-07-08 16:12:34 -0700 | |
|---|---|---|
| committer | 2019-08-04 04:36:49 -0700 | |
| commit | d5c2f39500549a7e2cd397f3ec713bd8d85af3e1 (patch) | |
| tree | ab7211c401ca9e82e71eb917d0f0c4abd5edb964 /scripts/gen_compile_commands.py | |
| parent | fm10k: cast page_addr to u8 * when incrementing it (diff) | |
| download | wireguard-linux-d5c2f39500549a7e2cd397f3ec713bd8d85af3e1.tar.xz wireguard-linux-d5c2f39500549a7e2cd397f3ec713bd8d85af3e1.zip | |
fm10k: mark unused parameters with __always_unused
Several functions in the fm10k driver have specific function templates,
as they are used as function pointers. The parameters in these functions
are not always used. Explicitly mark unused parameters with the
__always_unused macro, so that the compiler will not warn about them
when building with the -Wunused-parameter warning enabled.
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'scripts/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions
