Skip to content

Commit

Permalink
Enable CONFIG_WERROR for TrueNAS kernels
Browse files Browse the repository at this point in the history
Enable CONFIG_ERROR option that treats all warnings as error during
kernel build.

Signed-off-by: Umer Saleem <[email protected]>
  • Loading branch information
usaleem-ix committed Nov 19, 2024
1 parent f00c00b commit 6f78952
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/package/truenas/truenas.config
Original file line number Diff line number Diff line change
Expand Up @@ -154,3 +154,8 @@ CONFIG_LRU_GEN_ENABLED=n
# Disable Multiple Device (md) driver. TrueNAS does not utilize this
# driver and we don't support this in the field either.
CONFIG_MD=n

#
# Compile Linux kernel with warnings as errors
#
CONFIG_WERROR=y

0 comments on commit 6f78952

Please sign in to comment.