diff options
author | Toomas Soome <tsoome@me.com> | 2020-01-01 14:02:21 +0200 |
---|---|---|
committer | John Levon <john.levon@joyent.com> | 2020-05-07 10:30:55 +0000 |
commit | 8b060f27d51443a3976a23084f8009f35610b60a (patch) | |
tree | 7e7971fb9461ae42eab48a0d89a65c7de157424e /usr/src/cmd/file/magicutils.c | |
parent | 480524e999ecc44012be28e9d4a70c8d47e98dbf (diff) | |
download | illumos-joyent-8b060f27d51443a3976a23084f8009f35610b60a.tar.gz |
iwn: variable may be used uninitialized
../../common/io/iwn/if_iwn.c: In function 'iwn_fatal_intr':
../../common/io/iwn/if_iwn.c:3247:6: error: converting a packed 'struct iwn_fw_dump' pointer (alignment 1) to a 'uint32_t' {aka 'unsigned int'} pointer (alignment 4) may result in an unaligned pointer value [-Werror=address-of-packed-member]
3247 | sizeof (dump) / sizeof (uint32_t));
| ^~~~~~
In file included from ../../common/io/iwn/if_iwn.c:77:
../../common/io/iwn/if_iwnreg.h:1464:8: note: defined here
1464 | struct iwn_fw_dump {
| ^~~~~~~~~~~
cc1: all warnings being treated as errors
Change-Id: Iad2c207cdf95627b6b07bd8e9895ecff85f8127e
Diffstat (limited to 'usr/src/cmd/file/magicutils.c')
0 files changed, 0 insertions, 0 deletions