From: Marcel Holtmann <marcel@holtmann.org>
To: Colin King <colin.king@canonical.com>
Cc: Johan Hedberg <johan.hedberg@gmail.com>,
linux-bluetooth@vger.kernel.org, kernel-janitors@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Bluetooth: btrtl: Make array extension_sig static, shrinks object size
Date: Thu, 27 Sep 2018 12:27:17 +0200 [thread overview]
Message-ID: <B3D4C07F-E8A1-44B1-A221-FEE87F69C485@holtmann.org> (raw)
In-Reply-To: <20180926083208.13632-1-colin.king@canonical.com>
Hi Colin,
> Don't populate the array extension_sig on the stack but instead make it
> static. Makes the object code smaller by 75 bytes:
>
> Before:
> text data bss dec hex filename
> 14325 4920 0 19245 4b2d drivers/bluetooth/btrtl.o
>
> After:
> text data bss dec hex filename
> 14186 4984 0 19170 4ae2 drivers/bluetooth/btrtl.o
>
> (gcc version 8.2.0 x86_64)
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
> ---
> drivers/bluetooth/btrtl.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
patch has been applied to bluetooth-next tree.
Regards
Marcel
next prev parent reply other threads:[~2018-09-27 10:27 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-26 8:32 [PATCH] Bluetooth: btrtl: Make array extension_sig static, shrinks object size Colin King
2018-09-27 10:27 ` Marcel Holtmann [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-09-04 16:01 [PATCH] Bluetooth: btrtl: make " Colin King
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=B3D4C07F-E8A1-44B1-A221-FEE87F69C485@holtmann.org \
--to=marcel@holtmann.org \
--cc=colin.king@canonical.com \
--cc=johan.hedberg@gmail.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-bluetooth@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).