• Russ Cox's avatar
    sync/atomic: fix unimportant assembly errors found by go vet · 42ea2eda
    Russ Cox authored
    None of these are real bugs.
    The variable name in the reference is not semantically meaningful,
    except that 'go vet' will double check the offset against the name for you.
    
    The stack sizes being corrected really are incorrect but they are also
    in NOSPLIT functions so they typically don't matter.
    
    Found by vet.
    
    GOOS=linux GOARCH=amd64 go vet sync/atomic
    GOOS=linux GOARCH=amd64p32 go vet sync/atomic
    GOOS=linux GOARCH=386 go vet sync/atomic
    GOOS=linux GOARCH=arm go vet sync/atomic
    GOOS=freebsd GOARCH=arm go vet sync/atomic
    GOOS=netbsd GOARCH=arm go vet sync/atomic
    
    LGTM=r
    R=r, bradfitz
    CC=golang-codereviews
    https://golang.org/cl/100500043
    42ea2eda
export_linux_arm_test.go 271 Bytes