commit | e1785996f4c659f24e93aea6632cb565e5924bf5 | [log] [tgz] |
---|---|---|
author | Jiri Slaby <jslaby@suse.cz> | Wed Feb 19 09:49:42 2020 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Wed Feb 19 12:46:47 2020 +0100 |
tree | b4323f990aa041f6349604c3d1c7da2c0906b847 | |
parent | 72ae8cc192a312aa6a3cd643434a8992ea878737 [diff] |
n_gsm: introduce enum gsm_dlci_mode gsm_dlci->mode is clearly an enumeration. So introduce one and use it -- compiler now checks if valid values are assigned to the field. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Link: https://lore.kernel.org/r/20200219084949.28074-3-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>