Re: [PATCH v2] MODSIGN: do not send garbage to stderr when enabling modules signature

From: David Howells
Date: Wed Apr 10 2013 - 08:20:42 EST


Rusty Russell <rusty@xxxxxxxxxxxxxxx> wrote:

> From: David Cohen <david.a.cohen@xxxxxxxxx>
> Subject: MODSIGN: do not send garbage to stderr when enabling modules signature
>
> When compiling kernel with -jN (N > 1), all warning/error messages
> printed while openssl is generating key pair may get mixed dots and
> other symbols openssl sends to stderr. This patch makes sure openssl
> logs go to default stdout.
>
> Example of the garbage on stderr:
>
> crypto/anubis.c:581: warning: âinterâ is used uninitialized in this function
> Generating a 4096 bit RSA private key
> .........
> drivers/gpu/drm/i915/i915_gem_gtt.c: In function âgen6_ggtt_insert_entriesâ:
> drivers/gpu/drm/i915/i915_gem_gtt.c:440: warning: âaddrâ may be used uninitialized in this function
> .net/mac80211/tx.c: In function âieee80211_subif_start_xmitâ:
> net/mac80211/tx.c:1780: warning: âchanctx_confâ may be used uninitialized in this function
> ..drivers/isdn/hardware/mISDN/hfcpci.c: In function âhfcpci_softirqâ:
> .....drivers/isdn/hardware/mISDN/hfcpci.c:2298: warning: ignoring return value of âdriver_for_each_deviceâ, declared with attribute warn_unused_result
>
> Signed-off-by: David Cohen <david.a.cohen@xxxxxxxxx>
> Reviewed-by: mark gross <mark.gross@xxxxxxxxx>
> Signed-off-by: Rusty Russell <rusty@xxxxxxxxxxxxxxx>

Acked-by: David Howells <dhowells@xxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/