Skip to content

Assorted fixes discovered with gcc 4.1

Geert Uytterhoeven alsa-devel linux-block lkml netdev 1 version Applied

Status from this message: Applied to sound git tree now. Thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 9 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/5lightnvm: Fix uninitialized pointer in nvm_remove_tgt()drivers/lightnvm/core.c+1 -12 replies
2/5rxrpc: Fix uninitialized error code in rxrpc_send_data_packet()net/rxrpc/output.c+3 -17 replies
3/5net: sched: pie: Use ULL suffix for 64-bit constantnet/sched/sch_pie.c+1 -11 reply
4/5ALSA: fireface: Use ULL suffixes for 64-bit constantssound/firewire/fireface/ff-protocol-latter.c+5 -52 replies
5/5devlink: Fix uninitialized error code in devlink_fmsg_prepare_skb()net/core/devlink.c+1 -12 replies

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by.

PatchEran Ben ElishaJiri PirkoTakashi Sakamoto
1/5
2/5
3/5
4/5R-b
5/5R-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [PATCH 0/5] Assorted fixes discovered with gcc 4.1

Hi all,

Ever since commit cafa0010cd51fb71 ("Raise the minimum required gcc version to 4.6"), I felt bored when looking at my test build logs, as I was no longer discovering many real issues. Hence I started wondering if the modern gcc versions are really catching these classes of bugs caught before with gcc 4.1, or if they just go undetected.

I reverted some changes and applied some fixes, which allowed me to compile most of the kernel with gcc 4.1 again. I built an m68k/allmodconfig kernel, looked at all new warnings, and fixed the ones that are not false positives. The result is a patch series of 5 patches, of which one or two fix real bugs.

Thanks for your comments, and for applying where appropriate!

Geert Uytterhoeven (5):
lightnvm: Fix uninitialized pointer in nvm_remove_tgt()
rxrpc: Fix uninitialized error code in rxrpc_send_data_packet()
net: sched: pie: Use ULL suffix for 64-bit constant
ALSA: fireface: Use ULL suffixes for 64-bit constants [RFC] devlink: Fix uninitialized error code in
devlink_fmsg_prepare_skb()

 drivers/lightnvm/core.c                      |  2 +-
 net/core/devlink.c                           |  2 +-
 net/rxrpc/output.c                           |  4 +++-
 net/sched/sch_pie.c                          |  2 +-
 sound/firewire/fireface/ff-protocol-latter.c | 10 +++++-----
 5 files changed, 11 insertions(+), 9 deletions(-)
Signature · 12 lines
2.17.1

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds