8194 kmfcfg: case value not in enumerated type

Review Request #489 - Created May 10, 2017 and updated

Information
Toomas Soome
illumos-gate
8194
1c16f0d...
Reviewers
general
kmfcfg.c:246:3: error: case value '8' not in enumerated type 'KMF_RETURN {aka enum <anonymous>}' [-Werror=switch]
   case KC_ERR_MEMORY:
   ^~~~
kmfcfg.c:249:3: error: case value '9' not in enumerated type 'KMF_RETURN {aka enum <anonymous>}' [-Werror=switch]
   case KC_ERR_ACCESS:
   ^~~~
kmfcfg.c:251:3: error: case value '10' not in enumerated type 'KMF_RETURN {aka enum <anonymous>}' [-Werror=switch]
   case KC_ERR_INSTALL:
   ^~~~
cc1: all warnings being treated as errors

  
Marcel Telka
Robert Mustacchi
Toomas Soome
Review request changed

Change Summary:

Did add an comment about values returned by action callbacks.

Commit:

-b0b4ed5eaa8085164ed70795897febf8877d35da
+1c16f0d5a8b8a89d1579c63e9bfcad2d257d5b22

Diff:

Revision 2 (+6 -1)

Show changes

Robert Mustacchi
Ship It!
Loading...