]> git.baikalelectronics.ru Git - kernel.git/commit
crypto/chtls:Fix compile error when CONFIG_IPV6 is disabled
authorVinay Kumar Yadav <vinay.yadav@chelsio.com>
Thu, 4 Jun 2020 20:23:44 +0000 (01:53 +0530)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 Jun 2020 23:02:29 +0000 (16:02 -0700)
commita79dca4f91b99fad14b278b7c6b70bea390024e0
tree0747eecfd271aaf456dac6455124fe01cbc08a74
parent42cb0c6f6470c5bbce60e5b2054e2b291cf74859
crypto/chtls:Fix compile error when CONFIG_IPV6 is disabled

Fix compile errors,warnings when CONFIG_IPV6 is disabled and
inconsistent indenting.

v1->v2:
- Corrected errors/warnings reported when used newer gcc version,
  unused array.

Fixes: 377f5807db46 ("crypto/chtls: IPv6 support for inline TLS")
Signed-off-by: Vinay Kumar Yadav <vinay.yadav@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/crypto/chelsio/chcr_algo.h
drivers/crypto/chelsio/chtls/chtls_cm.c
drivers/crypto/chelsio/chtls/chtls_main.c