OSDN Git Service

ARM: 8183/1: l2c: Improve l2c310_of_parse() error message
authorFabio Estevam <festevam@gmail.com>
Wed, 29 Oct 2014 11:42:08 +0000 (12:42 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 29 Oct 2014 17:20:55 +0000 (17:20 +0000)
commit6d0ec1dd90afa0166a5fdadb1228bb026b09b925
treec0dd2ce982dff94baf9dd5ac9093547bca7d4848
parent005757298fdd3c181a11f463fea2646ca816a9a5
ARM: 8183/1: l2c: Improve l2c310_of_parse() error message

Russell King suggested [1]:

"I'd ask for one change.  Please make all these messages start with
"L2C-310 OF" not "PL310 OF:".  The device is described in ARM
documentation as a L2C-310 not PL310.  (Also note the : is dropped
too - most of the other messages don't have the : either.)

The:

"PL310 OF: cache setting yield illegal associativity
PL310 OF: -1073346556 calculated, only 8 and 16 legal"

message could also be changed to something like:

"L2C-310 OF cache associativity %d invalid, only 8 or 16 permittedn"

[1] http://www.spinics.net/lists/arm-kernel/msg372776.html

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mm/cache-l2x0.c