All of lore.kernel.org
 help / color / mirror / Atom feed
* arch/s390/crypto/paes_s390.c:132 __paes_keyblob2pkey() error: uninitialized symbol 'ret'.
@ 2021-11-13 18:43 kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-11-13 18:43 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 2486 bytes --]

CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Harald Freudenberger <freude@linux.ibm.com>
CC: Vasily Gorbik <gor@linux.ibm.com>
CC: Ingo Franzki <ifranzki@linux.ibm.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   66f4beaa6c1d28161f534471484b2daa2de1dce0
commit: 1daafea411f36cfa52eb58c2e7f9e2254fd42b28 s390/crypto: improve retry logic in case of master key change
date:   10 months ago
:::::: branch date: 22 hours ago
:::::: commit date: 10 months ago
config: s390-randconfig-m031-20211018 (attached as .config)
compiler: s390-linux-gcc (GCC) 11.2.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>

smatch warnings:
arch/s390/crypto/paes_s390.c:132 __paes_keyblob2pkey() error: uninitialized symbol 'ret'.

vim +/ret +132 arch/s390/crypto/paes_s390.c

2793784307688a Martin Schwidefsky   2016-11-04  124  
6f3196b74d64fe Harald Freudenberger 2020-01-22  125  static inline int __paes_keyblob2pkey(struct key_blob *kb,
2793784307688a Martin Schwidefsky   2016-11-04  126  				     struct pkey_protkey *pk)
2793784307688a Martin Schwidefsky   2016-11-04  127  {
2793784307688a Martin Schwidefsky   2016-11-04  128  	int i, ret;
2793784307688a Martin Schwidefsky   2016-11-04  129  
2793784307688a Martin Schwidefsky   2016-11-04  130  	/* try three times in case of failure */
2793784307688a Martin Schwidefsky   2016-11-04  131  	for (i = 0; i < 3; i++) {
1daafea411f36c Harald Freudenberger 2021-01-15 @132  		if (i > 0 && ret == -EAGAIN && in_task())
1daafea411f36c Harald Freudenberger 2021-01-15  133  			if (msleep_interruptible(1000))
1daafea411f36c Harald Freudenberger 2021-01-15  134  				return -EINTR;
52a34b34d4ff9a Ingo Franzki         2018-08-27  135  		ret = pkey_keyblob2pkey(kb->key, kb->keylen, pk);
2793784307688a Martin Schwidefsky   2016-11-04  136  		if (ret == 0)
2793784307688a Martin Schwidefsky   2016-11-04  137  			break;
2793784307688a Martin Schwidefsky   2016-11-04  138  	}
2793784307688a Martin Schwidefsky   2016-11-04  139  
2793784307688a Martin Schwidefsky   2016-11-04  140  	return ret;
2793784307688a Martin Schwidefsky   2016-11-04  141  }
2793784307688a Martin Schwidefsky   2016-11-04  142  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 14989 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* arch/s390/crypto/paes_s390.c:132 __paes_keyblob2pkey() error: uninitialized symbol 'ret'.
@ 2021-10-26 15:22 kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-10-26 15:22 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 2484 bytes --]

CC: kbuild-all(a)lists.01.org
CC: linux-kernel(a)vger.kernel.org
TO: Harald Freudenberger <freude@linux.ibm.com>
CC: Vasily Gorbik <gor@linux.ibm.com>
CC: Ingo Franzki <ifranzki@linux.ibm.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   3906fe9bb7f1a2c8667ae54e967dc8690824f4ea
commit: 1daafea411f36cfa52eb58c2e7f9e2254fd42b28 s390/crypto: improve retry logic in case of master key change
date:   9 months ago
:::::: branch date: 21 hours ago
:::::: commit date: 9 months ago
config: s390-randconfig-m031-20211018 (attached as .config)
compiler: s390-linux-gcc (GCC) 11.2.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>

smatch warnings:
arch/s390/crypto/paes_s390.c:132 __paes_keyblob2pkey() error: uninitialized symbol 'ret'.

vim +/ret +132 arch/s390/crypto/paes_s390.c

2793784307688a Martin Schwidefsky   2016-11-04  124  
6f3196b74d64fe Harald Freudenberger 2020-01-22  125  static inline int __paes_keyblob2pkey(struct key_blob *kb,
2793784307688a Martin Schwidefsky   2016-11-04  126  				     struct pkey_protkey *pk)
2793784307688a Martin Schwidefsky   2016-11-04  127  {
2793784307688a Martin Schwidefsky   2016-11-04  128  	int i, ret;
2793784307688a Martin Schwidefsky   2016-11-04  129  
2793784307688a Martin Schwidefsky   2016-11-04  130  	/* try three times in case of failure */
2793784307688a Martin Schwidefsky   2016-11-04  131  	for (i = 0; i < 3; i++) {
1daafea411f36c Harald Freudenberger 2021-01-15 @132  		if (i > 0 && ret == -EAGAIN && in_task())
1daafea411f36c Harald Freudenberger 2021-01-15  133  			if (msleep_interruptible(1000))
1daafea411f36c Harald Freudenberger 2021-01-15  134  				return -EINTR;
52a34b34d4ff9a Ingo Franzki         2018-08-27  135  		ret = pkey_keyblob2pkey(kb->key, kb->keylen, pk);
2793784307688a Martin Schwidefsky   2016-11-04  136  		if (ret == 0)
2793784307688a Martin Schwidefsky   2016-11-04  137  			break;
2793784307688a Martin Schwidefsky   2016-11-04  138  	}
2793784307688a Martin Schwidefsky   2016-11-04  139  
2793784307688a Martin Schwidefsky   2016-11-04  140  	return ret;
2793784307688a Martin Schwidefsky   2016-11-04  141  }
2793784307688a Martin Schwidefsky   2016-11-04  142  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 14989 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* arch/s390/crypto/paes_s390.c:132 __paes_keyblob2pkey() error: uninitialized symbol 'ret'.
@ 2021-03-08 16:30 kernel test robot
  0 siblings, 0 replies; 3+ messages in thread
From: kernel test robot @ 2021-03-08 16:30 UTC (permalink / raw)
  To: kbuild

[-- Attachment #1: Type: text/plain, Size: 2475 bytes --]

CC: kbuild-all(a)01.org
CC: linux-kernel(a)vger.kernel.org
TO: Harald Freudenberger <freude@linux.ibm.com>
CC: Vasily Gorbik <gor@linux.ibm.com>
CC: Ingo Franzki <ifranzki@linux.ibm.com>

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   144c79ef33536b4ecb4951e07dbc1f2b7fa99d32
commit: 1daafea411f36cfa52eb58c2e7f9e2254fd42b28 s390/crypto: improve retry logic in case of master key change
date:   6 weeks ago
:::::: branch date: 19 hours ago
:::::: commit date: 6 weeks ago
config: s390-randconfig-m031-20210308 (attached as .config)
compiler: s390-linux-gcc (GCC) 9.3.0

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>

smatch warnings:
arch/s390/crypto/paes_s390.c:132 __paes_keyblob2pkey() error: uninitialized symbol 'ret'.

vim +/ret +132 arch/s390/crypto/paes_s390.c

2793784307688a Martin Schwidefsky   2016-11-04  124  
6f3196b74d64fe Harald Freudenberger 2020-01-22  125  static inline int __paes_keyblob2pkey(struct key_blob *kb,
2793784307688a Martin Schwidefsky   2016-11-04  126  				     struct pkey_protkey *pk)
2793784307688a Martin Schwidefsky   2016-11-04  127  {
2793784307688a Martin Schwidefsky   2016-11-04  128  	int i, ret;
2793784307688a Martin Schwidefsky   2016-11-04  129  
2793784307688a Martin Schwidefsky   2016-11-04  130  	/* try three times in case of failure */
2793784307688a Martin Schwidefsky   2016-11-04  131  	for (i = 0; i < 3; i++) {
1daafea411f36c Harald Freudenberger 2021-01-15 @132  		if (i > 0 && ret == -EAGAIN && in_task())
1daafea411f36c Harald Freudenberger 2021-01-15  133  			if (msleep_interruptible(1000))
1daafea411f36c Harald Freudenberger 2021-01-15  134  				return -EINTR;
52a34b34d4ff9a Ingo Franzki         2018-08-27  135  		ret = pkey_keyblob2pkey(kb->key, kb->keylen, pk);
2793784307688a Martin Schwidefsky   2016-11-04  136  		if (ret == 0)
2793784307688a Martin Schwidefsky   2016-11-04  137  			break;
2793784307688a Martin Schwidefsky   2016-11-04  138  	}
2793784307688a Martin Schwidefsky   2016-11-04  139  
2793784307688a Martin Schwidefsky   2016-11-04  140  	return ret;
2793784307688a Martin Schwidefsky   2016-11-04  141  }
2793784307688a Martin Schwidefsky   2016-11-04  142  

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 24007 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-11-13 18:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-13 18:43 arch/s390/crypto/paes_s390.c:132 __paes_keyblob2pkey() error: uninitialized symbol 'ret' kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2021-10-26 15:22 kernel test robot
2021-03-08 16:30 kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.