Re: [trivial PATCH] treewide: Convert switch/case fallthrough; to break;

2020-09-09 Thread Wolfram Sang
> diff --git a/drivers/i2c/busses/i2c-i801.c b/drivers/i2c/busses/i2c-i801.c > index e32ef3f01fe8..b13b1cbcac29 100644 > --- a/drivers/i2c/busses/i2c-i801.c > +++ b/drivers/i2c/busses/i2c-i801.c > @@ -1785,7 +1785,7 @@ static int i801_probe(struct pci_dev *dev, const struct > pci_device_id *id) >

Re: [trivial PATCH] treewide: Convert switch/case fallthrough; to break;

2020-09-09 Thread Mauro Carvalho Chehab
Em Wed, 09 Sep 2020 13:06:39 -0700 Joe Perches escreveu: > fallthrough to a separate case/default label break; isn't very readable. > > Convert pseudo-keyword fallthrough; statements to a simple break; when > the next label is case or default and the only statement in the next > label block is b

Re: [PATCH v2] certs: Add EFI_CERT_X509_GUID support for dbx entries

2020-09-09 Thread Eric Snowberg
> On Sep 9, 2020, at 11:40 AM, Randy Dunlap wrote: > > On 9/9/20 10:27 AM, Eric Snowberg wrote: >> diff --git a/include/crypto/pkcs7.h b/include/crypto/pkcs7.h >> index 38ec7f5f9041..d8f2e0fdfbf4 100644 >> --- a/include/crypto/pkcs7.h >> +++ b/include/crypto/pkcs7.h >> @@ -26,11 +26,19 @@ exter

Re: [GIT PULL] Crypto Fixes for 5.9

2020-09-09 Thread pr-tracker-bot
The pull request you sent on Thu, 10 Sep 2020 10:34:23 +1000: > git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git linus has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/7fe10096c1508c7f033d34d0741809f8eecc1ed4 Thank you! -- Deet-doot-dot, I am a bot

[GIT PULL] Crypto Fixes for 5.9

2020-09-09 Thread Herbert Xu
Hi Linus: This push fixes a regression in padata. The following changes since commit c195d66a8a75c60515819b101975f38b7ec6577f: crypto: af_alg - Work around empty control messages without MSG_MORE (2020-08-27 23:20:36 +1000) are available in the Git repository at: git://git.kernel.org/pub/

Re: [trivial PATCH] treewide: Convert switch/case fallthrough; to break;

2020-09-09 Thread Joe Perches
On Wed, 2020-09-09 at 19:36 -0300, Jason Gunthorpe wrote: > On Wed, Sep 09, 2020 at 01:06:39PM -0700, Joe Perches wrote: > > fallthrough to a separate case/default label break; isn't very readable. > > > > Convert pseudo-keyword fallthrough; statements to a simple break; when > > the next label is

Re: [trivial PATCH] treewide: Convert switch/case fallthrough; to break;

2020-09-09 Thread Joe Perches
On Thu, 2020-09-10 at 08:35 +1000, Herbert Xu wrote: > On Wed, Sep 09, 2020 at 02:09:32PM -0700, Joe Perches wrote: > > On Wed, 2020-09-09 at 13:55 -0700, Keith Busch wrote: > > > On Wed, Sep 09, 2020 at 01:06:39PM -0700, Joe Perches wrote: > > > > diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c > >

Уважаемый Смирнов

2020-09-09 Thread Howard Season Esq.
Уважаемый Смирнов Я адвокат Говард сезон, Эсквайр, я адвокат покойного Энгра. Алекс Смирнов, гражданин вашей страны, который жил здесь со своей семьей и работаю в компании Oryx &Gas до 2019 года, когда мой покойный клиент и семья погибли в авиакатастрофе Эфиопских авиалиний, в результате которой п

Re: [trivial PATCH] treewide: Convert switch/case fallthrough; to break;

2020-09-09 Thread Jason Gunthorpe
On Wed, Sep 09, 2020 at 01:06:39PM -0700, Joe Perches wrote: > fallthrough to a separate case/default label break; isn't very readable. > > Convert pseudo-keyword fallthrough; statements to a simple break; when > the next label is case or default and the only statement in the next > label block is

Re: [trivial PATCH] treewide: Convert switch/case fallthrough; to break;

2020-09-09 Thread Herbert Xu
On Wed, Sep 09, 2020 at 02:09:32PM -0700, Joe Perches wrote: > On Wed, 2020-09-09 at 13:55 -0700, Keith Busch wrote: > > On Wed, Sep 09, 2020 at 01:06:39PM -0700, Joe Perches wrote: > > > diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c > > > index eea0f453cfb6..8aac5bc60f4c 100644 > > > --- a/crypto

Re: [trivial PATCH] treewide: Convert switch/case fallthrough; to break;

2020-09-09 Thread Joe Perches
On Wed, 2020-09-09 at 13:55 -0700, Keith Busch wrote: > On Wed, Sep 09, 2020 at 01:06:39PM -0700, Joe Perches wrote: > > diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c > > index eea0f453cfb6..8aac5bc60f4c 100644 > > --- a/crypto/tcrypt.c > > +++ b/crypto/tcrypt.c > > @@ -2464,7 +2464,7 @@ static in

Re: [PATCH v7] crypto: af_alg - add extra parameters for DRBG interface

2020-09-09 Thread Eric Biggers
On Wed, Sep 09, 2020 at 07:29:47PM +0100, Elena Petrova wrote: > Extend the user-space RNG interface: > 1. Add entropy input via ALG_SET_DRBG_ENTROPY setsockopt option; > 2. Add additional data input via sendmsg syscall. > > This allows DRBG to be tested with test vectors, for example for the

Re: [trivial PATCH] treewide: Convert switch/case fallthrough; to break;

2020-09-09 Thread Gustavo A. R. Silva
On 9/9/20 15:06, Joe Perches wrote: > fallthrough to a separate case/default label break; isn't very readable. > > Convert pseudo-keyword fallthrough; statements to a simple break; when > the next label is case or default and the only statement in the next > label block is break; > > Found usi

Re: [trivial PATCH] treewide: Convert switch/case fallthrough; to break;

2020-09-09 Thread Keith Busch
On Wed, Sep 09, 2020 at 01:06:39PM -0700, Joe Perches wrote: > diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c > index eea0f453cfb6..8aac5bc60f4c 100644 > --- a/crypto/tcrypt.c > +++ b/crypto/tcrypt.c > @@ -2464,7 +2464,7 @@ static int do_test(const char *alg, u32 type, u32 mask, > int m, u32 num_m

[trivial PATCH] treewide: Convert switch/case fallthrough; to break;

2020-09-09 Thread Joe Perches
fallthrough to a separate case/default label break; isn't very readable. Convert pseudo-keyword fallthrough; statements to a simple break; when the next label is case or default and the only statement in the next label block is break; Found using: $ grep-2.5.4 -rP --include=*.[ch] -n "fallthrou

Re: [PATCH v2] certs: Add EFI_CERT_X509_GUID support for dbx entries

2020-09-09 Thread Randy Dunlap
On 9/9/20 10:27 AM, Eric Snowberg wrote: > diff --git a/include/crypto/pkcs7.h b/include/crypto/pkcs7.h > index 38ec7f5f9041..d8f2e0fdfbf4 100644 > --- a/include/crypto/pkcs7.h > +++ b/include/crypto/pkcs7.h > @@ -26,11 +26,19 @@ extern int pkcs7_get_content_data(const struct > pkcs7_message *pkcs

[PATCH v2] certs: Add EFI_CERT_X509_GUID support for dbx entries

2020-09-09 Thread Eric Snowberg
The Secure Boot Forbidden Signature Database, dbx, contains a list of now revoked signatures and keys previously approved to boot with UEFI Secure Boot enabled. The dbx is capable of containing any number of EFI_CERT_X509_SHA256_GUID, EFI_CERT_SHA256_GUID, and EFI_CERT_X509_GUID entries. Currentl

[PATCH RESEND 2/2] crypto: qat - use PCI_VDEVICE

2020-09-09 Thread Giovanni Cabiddu
Build pci_device_id structure using the PCI_VDEVICE macro. This removes any references to the ADF_SYSTEM_DEVICE macro. Suggested-by: Andy Shevchenko Signed-off-by: Giovanni Cabiddu Reviewed-by: Fiona Trahe Reviewed-by: Andy Shevchenko --- drivers/crypto/qat/qat_c3xxx/adf_drv.c | 7 ++

[PATCH RESEND 0/2] crypto: qat - replace DIDs macros

2020-09-09 Thread Giovanni Cabiddu
Resending patches 4 and 5 from the series "vfio/pci: add denylist and disable qat" that didn't get apply. This set replaces the device IDs defined in the qat drivers with the ones in linux/pci_ids.h and replaces the custom ADF_SYSTEM_DEVICE macro with PCI_VDEVICE. Giovanni Cabiddu (2): crypto:

[PATCH RESEND 1/2] crypto: qat - replace device ids defines

2020-09-09 Thread Giovanni Cabiddu
Replace device ids defined in the QAT drivers with the ones in include/linux/pci_ids.h. Signed-off-by: Giovanni Cabiddu Reviewed-by: Fiona Trahe Reviewed-by: Andy Shevchenko --- drivers/crypto/qat/qat_c3xxx/adf_drv.c| 6 +++--- drivers/crypto/qat/qat_c3xxxvf/adf_drv.c | 6

[PATCH] crypto: sa2ul - Fix pm_runtime_get_sync() error checking

2020-09-09 Thread Dan Carpenter
The pm_runtime_get_sync() function returns either 0 or 1 on success but this code treats a return of 1 as a failure. Fixes: 7694b6ca649f ("crypto: sa2ul - Add crypto driver") Signed-off-by: Dan Carpenter --- drivers/crypto/sa2ul.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

Re: [PATCH 1/1] dt-bindings: rng: Convert OMAP RNG to schema

2020-09-09 Thread Tero Kristo
On 28/05/2020 19:54, Tero Kristo wrote: On 28/05/2020 18:27, Rob Herring wrote: On Thu, 14 May 2020 16:19:47 +0300, Tero Kristo wrote: Convert TI OMAP Random number generator bindings to DT schema. Signed-off-by: Tero Kristo ---   .../devicetree/bindings/rng/omap_rng.txt  | 38 -