From: Paul Menzel Subject: Re: [PATCH] drm: refactor call to request_module Date: Wed, 08 May 2013 09:22:41 +0200 Message-ID: <1367997761.10764.23.camel@mattotaupa> References: <20130507193216.GA2214@www.outflux.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2011735940==" Return-path: Received: from mail.gw90.de (mail.gw90.de [188.40.100.199]) by gabe.freedesktop.org (Postfix) with ESMTP id 22EEEE5CBF for ; Wed, 8 May 2013 00:22:54 -0700 (PDT) In-Reply-To: <20130507193216.GA2214@www.outflux.net> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Kees Cook Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============2011735940== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-0K5pDc5deo81mXd5SDgd" --=-0K5pDc5deo81mXd5SDgd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Am Dienstag, den 07.05.2013, 12:32 -0700 schrieb Kees Cook: > This reduces the size of the stack frame when calling request_module(). > Performing the sprintf before the call is not needed. Good fine. Do you have any hard numbers for the record? Did you find this just by reading the code or are there any problems with stack sizes on some systems? (This patch would be good alone for decreasing the number of code lines. ;-)) > Signed-off-by: Kees Cook > --- > drivers/gpu/drm/drm_encoder_slave.c | 6 +----- > 1 file changed, 1 insertion(+), 5 deletions(-) Acked-by: Paul Menzel Thanks, Paul --=-0K5pDc5deo81mXd5SDgd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEABECAAYFAlGJ/UEACgkQPX1aK2wOHVhrDgCdGOZleXKXZIjkZwrg1AkbhDs4 OcQAnjrR4UIVMMXT8kbW4O40l9h+g8DA =iv7v -----END PGP SIGNATURE----- --=-0K5pDc5deo81mXd5SDgd-- --===============2011735940== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============2011735940==--