Re: [PATCH 2/8] Missing comma

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Lucas,

Missing comma in static array chassis_map definition between
"Blade" and "Blade Enclosure" field.

Typing error fixed.

....

-       "CompactPCI",            "unknonw",
+       "CompactPCI",            "unknown",
       "AdvancedTCA",           "unknown",
       "Blade",                 "server",
-       "Blade Enclosure"        "unknown", /* 0x1D */
+       "Blade Enclosure",       "unknown", /* 0x1D */

Lucas De Marchi wrote:

Nice catch, but because of errors like this, I think it'd be better to
use a struct with 2 "char *" fields, isn't it?

You are right but anyway is this really necessary to make quite big change
in struct/control code? There is possible to make other "switch-line"
errors when 2 "char *" arrays used.

Attaching previous patch again due to possible corruption by my email
client.

Pavel

Attachment: 0002-Missing-comma.patch
Description: Binary data


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux