Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935001Ab3DIXxQ (ORCPT ); Tue, 9 Apr 2013 19:53:16 -0400 Received: from mail-pb0-f46.google.com ([209.85.160.46]:63619 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759219Ab3DIXxP (ORCPT ); Tue, 9 Apr 2013 19:53:15 -0400 MIME-Version: 1.0 In-Reply-To: <1365501657-4213-5-git-send-email-serban.constantinescu@arm.com> References: <1365501657-4213-1-git-send-email-serban.constantinescu@arm.com> <1365501657-4213-5-git-send-email-serban.constantinescu@arm.com> Date: Tue, 9 Apr 2013 16:53:14 -0700 Message-ID: Subject: Re: [PATCH v2 4/7] staging: android: binder: fix BINDER_SET_MAX_THREADS declaration From: =?ISO-8859-1?Q?Arve_Hj=F8nnev=E5g?= To: Serban Constantinescu Cc: LKML , Greg KH , Android Kernel Team , John Stultz , Dave Butcher Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 725 Lines: 17 On Tue, Apr 9, 2013 at 3:00 AM, Serban Constantinescu wrote: > This change will fix the BINDER_SET_MAX_THREADS ioctl to use __s32 > instead of size_t for setting the max threads. Thus using the same > handler for 32 and 64bit kernels. > > This value is stored internally in struct binder_proc as an int and > is set to 15 on open_binder() in the libbinder API (thus no need for > a 64bit size_t on 64bit platforms). > Why switch to a signed type? -- 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/