OpenRISC updates for 5.18

Fixups and enhancements for OpenRISC:
  - Small fixup to remove duplicate initializer in memcpy from Kuniyuki
    Iwashima
 -----BEGIN PGP SIGNATURE-----
 
 iQIzBAABCAAdFiEE2cRzVK74bBA6Je/xw7McLV5mJ+QFAmJAD/sACgkQw7McLV5m
 J+TDtxAAvd2wYuiJEj+dhnGfd/bZw2Pd3OpqOKXJ5B/o9szd6ShtHsyUvb/3Qxrc
 ftOka76hJEC7N/FpRlyqIDvHfd0GjKtYQH7+9OBPQaZVpvNyQ5mOz+Yxope8aim5
 PuExASOGTEJCoZPwiIm7/VpjRHVpLKMEFdkPd8s32vrjn8iqJ6+L+Nxp99T74TIh
 GQDqbiAnf8Y+BDWZPp3gVC+i/r+cb3KVbn37fFk4IMzU31PRZzpSvEn67YlEVjJl
 KlMtqj8xWnKzApCFmaRh27T45/w1t44yayVQWWFu2k2a8I4qL+H+f8V2YxzaRCCn
 TdS7Q+q7lddD7wud01LlqAsUg/iR5mcIKGvLRW8/wI41BYcuLSogr4hQoYcx9ioG
 ceHipI7SGtRa4R/u2plIofr6fbwY5oknAO/fU0iVjbttR7ZnWQNB8hk69IRh7FcU
 hA16Yxlc5j00on+dyWLsfM6EBS30J/eZrcdYv36YVYWsVY16P8hJ9cil7LLHfAhW
 HbMxqyvSAHcClzaIvDT5ujmS92C0alLaqQSuCOX7fMT6eHkUuOyie4yGmQy+uM4b
 puxWU0zAHP8LZByh4Ew6liZR846AQ8zvf95u8Lj3vYcZ2aW+561gm043tV1MPQSu
 wUkXCh/2cRmOAzjXciuoCHTohkrZzBbbU7GJLRFRvYZtymlNEwU=
 =5NKE
 -----END PGP SIGNATURE-----

Merge tag 'for-linus' of https://github.com/openrisc/linux

Pull OpenRISC updates from Stafford Horne:
 "Not much for OpenRISC this merge window, I do have some things on the
  back burner like sparse warning cleanups and new defconfigs. But I
  didn't get time to polish the patches off for this round. There are
  OpenRISC updates coming in via other queues like removal of set_fs()
  and possibly new generic ticket locks.

  This just has a small fixup to remove duplicate initializer in memcpy
  from Kuniyuki Iwashima"

* tag 'for-linus' of https://github.com/openrisc/linux:
  openrisc/boot: Remove unnecessary initialisation in memcpy().
This commit is contained in:
Linus Torvalds 2022-03-27 11:43:09 -07:00
commit 88b3be5c63

View File

@ -101,7 +101,7 @@ void *memcpy(void *dest, __const void *src, __kernel_size_t n)
*/
void *memcpy(void *dest, __const void *src, __kernel_size_t n)
{
unsigned char *d = (unsigned char *)dest, *s = (unsigned char *)src;
unsigned char *d, *s;
uint32_t *dest_w = (uint32_t *)dest, *src_w = (uint32_t *)src;
/* If both source and dest are word aligned copy words */