Skip to content

Commit

Permalink
appease various linters
Browse files Browse the repository at this point in the history
  • Loading branch information
umanwizard committed Sep 18, 2024
1 parent c60fa42 commit 362df12
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions interpreter/customlabels/customlabels.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ type data struct {

var _ interpreter.Data = &data{}

func roundUp(multiple uint64, value uint64) uint64 {
func roundUp(multiple, value uint64) uint64 {
if multiple == 0 {
return value
}
Expand Down Expand Up @@ -87,7 +87,8 @@ func Loader(_ interpreter.EbpfHandler, info *interpreter.LoaderInfo) (interprete
// of the image. So we need to find the size of the image in order to know where the
// beginning is.
//
// The image is just .tdata followed by .tbss, but we also have to respect the alignment.
// The image is just .tdata followed by .tbss,
// but we also have to respect the alignment.
tbss, err := ef.Tbss()
if err != nil {
return nil, err
Expand Down

0 comments on commit 362df12

Please sign in to comment.