Skip to content

Fix unsigned return type

Julia Lawall cpufreq kernel-janitors linux-fbdev linux-i2c linux-wireless linuxppc-dev lkml netdev 1 version Applied

Status from this message: Applied.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest8 patches 3 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/8drivers/video/matrox/matroxfb_maven.c: Fix unsigned return typedrivers/video/matrox/matroxfb_maven.c+1 -10 replies
2/8arch/x86/kernel/cpu/cpufreq: Fix unsigned return typearch/x86/kernel/cpu/cpufreq/cpufreq-nforce2.c arch/x86/kernel/cpu/cpufreq/longrun.c+2 -20 replies
3/8net/9p/trans_fd.c: Fix unsigned return typenet/9p/trans_fd.c+1 -11 reply
4/8drivers/i2c/busses/i2c-pasemi.c: Fix unsigned return typedrivers/i2c/busses/i2c-pasemi.c+1 -11 reply
5/8drivers/atm/firestream.c: Fix unsigned return typedrivers/atm/firestream.c+2 -21 reply
6/8drivers/staging/comedi/drivers: Fix unsigned return typedrivers/staging/comedi/drivers/adl_pci9118.c drivers/staging/comedi/drivers/ni_labpc.c+4 -40 replies
7/8drivers/i2c/busses/i2c-amd8111.c: Fix unsigned return typedrivers/i2c/busses/i2c-amd8111.c+2 -20 replies
8/8drivers/net/wireless/iwlwifi/iwl-agn.c: Fix return value from an unsigned functiondrivers/net/wireless/iwlwifi/iwl-agn.c+1 -10 replies

Reviews trailers per patch

1 of 8 patches has a Reviewed-by or Acked-by.

PatchOlof Johansson
1/8
2/8
3/8
4/8A-b
5/8
6/8
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/8] Fix unsigned return type

These patches fix some cases where a negative constant is returned from a function that has an unsigned return type. In most cases, the result of every call to the function is stored in a signed variable, and thus the unsigned in the return type can just dropped.