Web lists-archives.org

Re: [PATCH] acpi: fix sparse const errors




On Thu, 29 May 2008, Harvey Harrison wrote:
> In this case we want a constant pointer to constant chars:
> drivers/misc/thinkpad_acpi.c:3824:19: error: Just how const do you want this type to be?
> 
> Like the error says.
> drivers/misc/thinkpad_acpi.c:3863:19: error: Just how const do you want this type to be?
> drivers/misc/thinkpad_acpi.c:3864:19: error: Just how const do you want this type to be?
> drivers/misc/thinkpad_acpi.c:3865:19: error: Just how const do you want this type to be?
> drivers/misc/thinkpad_acpi.c:3866:19: error: Just how const do you want this type to be?
> 
> Signed-off-by: Harvey Harrison <harvey.harrison@xxxxxxxxx>

Acked-by: Henrique de Moraes Holschuh <hmh@xxxxxxxxxx>

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/