Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1705913

Re: [PATCH net-next] net: dsa: lan9303: Only allocate 3 ports

From Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Newsgroups linux.kernel
Subject Re: [PATCH net-next] net: dsa: lan9303: Only allocate 3 ports
Date 2017-08-08 01:20 +0200
Message-ID <ubZtv-7j5-11@gated-at.bofh.it> (permalink)
References <ubYH8-6KG-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Egil Hjelmeland <privat@egil-hjelmeland.no> writes:

> Save 2628 bytes on arm eabi by allocate only the required 3 ports.
>
> Now that ds->num_ports is correct: In net/dsa/tag_lan9303.c
> eliminate duplicate LAN9303_MAX_PORTS, use ds->num_ports.
> (Matching the pattern of other net/dsa/tag_xxx.c files.)
>
> Signed-off-by: Egil Hjelmeland <privat@egil-hjelmeland.no>

Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH net-next] net: dsa: lan9303: Only allocate 3 ports Egil Hjelmeland <privat@egil-hjelmeland.no> - 2017-08-08 00:30 +0200
  Re: [PATCH net-next] net: dsa: lan9303: Only allocate 3 ports Florian Fainelli <f.fainelli@gmail.com> - 2017-08-08 00:30 +0200
  Re: [PATCH net-next] net: dsa: lan9303: Only allocate 3 ports Vivien Didelot <vivien.didelot@savoirfairelinux.com> - 2017-08-08 01:20 +0200
  Re: [PATCH net-next] net: dsa: lan9303: Only allocate 3 ports David Miller <davem@davemloft.net> - 2017-08-09 03:20 +0200

csiph-web