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


Groups > linux.kernel > #1194800 > unrolled thread

Re: [PATCH v2 1/4] toshiba_acpi: Change *available functions return type

Started byDarren Hart <dvhart@infradead.org>
First post2015-07-29 07:10 +0200
Last post2015-07-29 07:10 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH v2 1/4] toshiba_acpi: Change *available functions return  type Darren Hart <dvhart@infradead.org> - 2015-07-29 07:10 +0200

#1194800 — Re: [PATCH v2 1/4] toshiba_acpi: Change *available functions return type

FromDarren Hart <dvhart@infradead.org>
Date2015-07-29 07:10 +0200
SubjectRe: [PATCH v2 1/4] toshiba_acpi: Change *available functions return type
Message-ID<pRrMT-6J2-11@gated-at.bofh.it>
On Mon, Jul 27, 2015 at 07:22:25PM -0600, Azael Avalos wrote:
> This patch changes the *available functions return type from int to
> void.
> 
> The checks for support of their respective features are done inside
> such functions and there was no need to return anything as we can
> flag the queried feature as supported inside these functions.
> 
> The code was adapted accordingly to these changes and two new
> variables were created and another was changed from uint to bool.
> 
> While at the neighborhood, some of the functions were cleaned from

Please consider this a red flag in the future. "While in the neighborhood" means
you need to split the patch across distinct functional boundaries.

-- 
Darren Hart
Intel Open Source Technology Center
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web