Re: [now with correct Cc] [RFC] weirdness in "MIPS: ptrace: introduce NT_MIPS_MSA regset"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 24 Nov 2024, Al Viro wrote:

> 	Both msa_get() and msa_set() have very odd logics:
> 
> 	} else if (sizeof(target->thread.fpu.fpr[0]) == regset->size) {
> 
> and
> 
> 	if (sizeof(target->thread.fpu.fpr[0]) == regset->size) {
> 
> resp.
[...]
> So it looks like both checks are constant true.  What am I missing here?

 FWIW ISTM these are leftovers from an earlier version or suchlike.  
FAOD I haven't had anything to do with this code so this is based solely 
on visual inspection.  Also no MSA hardware available here to verify 
anything (but QEMU might do).  HTH.

  Maciej




[Index of Archives]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux