From patchwork Fri Aug 17 11:09:36 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 10786 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id EFB4923E37 for ; Fri, 17 Aug 2012 11:11:34 +0000 (UTC) Received: from mail-gg0-f180.google.com (mail-gg0-f180.google.com [209.85.161.180]) by fiordland.canonical.com (Postfix) with ESMTP id B1D4CA181FD for ; Fri, 17 Aug 2012 11:11:34 +0000 (UTC) Received: by ggmi2 with SMTP id i2so4044068ggm.11 for ; Fri, 17 Aug 2012 04:11:34 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-forwarded-to:x-forwarded-for:delivered-to:received-spf:from:to:cc :subject:date:message-id:x-mailer:mime-version:content-type :content-transfer-encoding:x-gm-message-state; bh=7AZZ0n3STWWHVqNUt7rBsO2GbSC1So6CCb+fgu7zVVg=; b=aVJ3co6zA9aaXMitRc0Y/FWAfr6QYlD5qPlGn+BBYYsaw3fakmcwAfP03Pt7d4i93n IsSiFCVCB/vInF79onIj9QH00XKD0DY/hABVXrM8v9+aL1I6bbw2Gcn8cN9Pf+rqWOoM NBwQr0JU5Cv+SZxFis3ShL4/Yw7pMbflb/R3UeHGLKjwrJWld2JmjPdxNVP5Z7Z1/1LJ Rr926aqTzPSJE+QIrX9zBoGUmAvYlcjBbBQ7VWjOzDR7EVmwmpgrdhEopcsVz2Wr0tY8 Dk7cxBU6gym5yb4p8ogWCU1UkRLfSgUvUiomCNwyqndI2+kzQYVugJPQyVbNdP9Tf+yD 4p6Q== Received: by 10.50.186.131 with SMTP id fk3mr1478751igc.31.1345201893904; Fri, 17 Aug 2012 04:11:33 -0700 (PDT) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.50.184.200 with SMTP id ew8csp182068igc; Fri, 17 Aug 2012 04:11:32 -0700 (PDT) Received: by 10.68.129.168 with SMTP id nx8mr10568395pbb.112.1345201892320; Fri, 17 Aug 2012 04:11:32 -0700 (PDT) Received: from mail-pb0-f50.google.com (mail-pb0-f50.google.com [209.85.160.50]) by mx.google.com with ESMTPS id ms7si12804590pbb.88.2012.08.17.04.11.31 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 17 Aug 2012 04:11:32 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.160.50; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.160.50 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by pbcmd12 with SMTP id md12so3618371pbc.37 for ; Fri, 17 Aug 2012 04:11:31 -0700 (PDT) Received: by 10.68.136.227 with SMTP id qd3mr11368pbb.89.1345201891160; Fri, 17 Aug 2012 04:11:31 -0700 (PDT) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id iq1sm4723254pbc.37.2012.08.17.04.11.28 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 17 Aug 2012 04:11:30 -0700 (PDT) From: Sachin Kamat To: devel@driverdev.osuosl.org Cc: gregkh@linuxfoundation.org, sachin.kamat@linaro.org, patches@linaro.org, =?UTF-8?q?Arve=20Hj=C3=B8nnev=C3=A5g?= Subject: [PATCH 1/2] Staging: android: binder: Make task_get_unused_fd_flags function static Date: Fri, 17 Aug 2012 16:39:36 +0530 Message-Id: <1345201777-31950-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 MIME-Version: 1.0 X-Gm-Message-State: ALoCoQmrZm/xbEAAT5noYapDlbDBZFI0uUsWN2UPWPtZo++MOTyUxYfVI6qc+CTxNYMPkpICAwQT Silence the following warning: drivers/staging/android/binder.c:368:5: warning: symbol 'task_get_unused_fd_flags' was not declared. Should it be static? Cc: Arve Hjønnevåg Signed-off-by: Sachin Kamat --- drivers/staging/android/binder.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/staging/android/binder.c b/drivers/staging/android/binder.c index 574e992..668bec7 100644 --- a/drivers/staging/android/binder.c +++ b/drivers/staging/android/binder.c @@ -365,7 +365,7 @@ binder_defer_work(struct binder_proc *proc, enum binder_deferred_state defer); /* * copied from get_unused_fd_flags */ -int task_get_unused_fd_flags(struct binder_proc *proc, int flags) +static int task_get_unused_fd_flags(struct binder_proc *proc, int flags) { struct files_struct *files = proc->files; int fd, error;