Re: [PATCH] mm: zsmalloc: Replace return type int with bool

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

 



On Tue, Feb 20, 2018 at 04:25:15PM +0530, Souptick Joarder wrote:
> On Tue, Feb 20, 2018 at 2:38 PM, Minchan Kim <minchan@xxxxxxxxxx> wrote:
> > Yub, bool could be more appropriate. However, there are lots of other places
> > in kernel where use int instead of bool.
> > If we fix every such places with each patch, it would be very painful.
> > If you believe it's really worth, it would be better to find/fix every
> > such places in one patch. But I'm not sure it's worth.
> >
> 
> Sure, I will create patch series and send it.

Please don't.  If you're touching a function for another reason, it's
fine to convert it to return bool.  A series of patches converting every
function in the kernel that could be converted will not make friends.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@xxxxxxxxx";> email@xxxxxxxxx </a>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux