Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Oct 2020 04:49:14 +0000 (UTC)
From:      Oleksandr Tymoshenko <gonzo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r366923 - head/sys/crypto/armv8
Message-ID:  <202010220449.09M4nEXI065163@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gonzo
Date: Thu Oct 22 04:49:14 2020
New Revision: 366923
URL: https://svnweb.freebsd.org/changeset/base/366923

Log:
  [armv8crypto] Fix cryptodev probe logic in armv8crypto
  
  Add missing break to prevent falling through to the default case statement
  and returning EINVAL for all session configs.
  
  Sponsored by:	Ampere Computing
  Submitted by:	Klara, Inc.

Modified:
  head/sys/crypto/armv8/armv8_crypto.c

Modified: head/sys/crypto/armv8/armv8_crypto.c
==============================================================================
--- head/sys/crypto/armv8/armv8_crypto.c	Thu Oct 22 03:30:39 2020	(r366922)
+++ head/sys/crypto/armv8/armv8_crypto.c	Thu Oct 22 04:49:14 2020	(r366923)
@@ -207,6 +207,7 @@ armv8_crypto_probesession(device_t dev,
 		default:
 			return (EINVAL);
 		}
+		break;
 	default:
 		return (EINVAL);
 	}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010220449.09M4nEXI065163>