opnsense-src/sys/dev/pms
Dimitry Andric 8b5b4fc7ca Adjust tdsaContext_t::NvmdResponseSet declaration to avoid clang 15 warning
With clang 15, the following -Werror warnings are produced:

    In file included from sys/dev/pms/freebsd/driver/ini/src/agtiapi.c:70:
    sys/dev/pms/RefTisa/tisa/sassata/common/tdsatypes.h:346:13: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
      volatile  NvmdResponseSet;
      ~~~~~~~~  ^
      int

The NvmdResponseSet member is effectively only used as a boolean in the
pms(4) driver, so it could be a single bit. But to avoid changing the
semantics at all in this unmaintained driver, simply declare it as a
volatile int.

MFC after:	3 days

(cherry picked from commit 95204d7a63)
2022-07-24 13:00:07 +02:00
..
freebsd/driver Fix some common typos in source code comments 2021-08-19 09:28:06 +02:00
RefTisa Adjust tdsaContext_t::NvmdResponseSet declaration to avoid clang 15 warning 2022-07-24 13:00:07 +02:00
config.h