From patchwork Fri Sep 6 05:46:52 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: manjunath.goudar@linaro.org X-Patchwork-Id: 19799 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-ve0-f197.google.com (mail-ve0-f197.google.com [209.85.128.197]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 15C8E24869 for ; Fri, 6 Sep 2013 05:47:04 +0000 (UTC) Received: by mail-ve0-f197.google.com with SMTP id jy13sf2061520veb.0 for ; Thu, 05 Sep 2013 22:47:03 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:cc:subject:date:message-id :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe:content-type:content-transfer-encoding; bh=cUccvW9kkQpNRNjlVDdDcH2WY3Vo8zXp+U5T4j94Mdc=; b=ZSe3n7Fzl20IpoXrznafzevcDhW5StVj3JvcHLUHcLUURbnpqtRiAkafu6yq3B6aHn 9YBMmveUaagiG4aIBuh5M9ZoC1n5MEJ+sAhh2773lSqCcFzZrdiuP3b6IVGb1mH/2Pqo 4xY90LA279AVMHZx36p91L6jhR5iFisK0VReoeQd+FrIWYC7TIda8JkF6TEbdgTRp+DF n3PbYIf64h+P2W6vfD/QRN8rd8yLXgoaiIMNlSYa+uommzVx/kd5yZxmnnD3YS6ikYaH 975kd2LAIDDH3giJN8z4YJfQS7ebJ+qyNub0nK3XmByCQoIpgsJgf5bCtgVwNxLU/q3A Sh0A== X-Received: by 10.224.137.68 with SMTP id v4mr2080816qat.1.1378446423901; Thu, 05 Sep 2013 22:47:03 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.81.210 with SMTP id c18ls528451qey.37.gmail; Thu, 05 Sep 2013 22:47:03 -0700 (PDT) X-Received: by 10.58.137.167 with SMTP id qj7mr594074veb.1.1378446423734; Thu, 05 Sep 2013 22:47:03 -0700 (PDT) Received: from mail-ve0-f180.google.com (mail-ve0-f180.google.com [209.85.128.180]) by mx.google.com with ESMTPS id op1si255014vcb.117.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 05 Sep 2013 22:47:03 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.128.180 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.128.180; Received: by mail-ve0-f180.google.com with SMTP id jz11so1288615veb.11 for ; Thu, 05 Sep 2013 22:47:03 -0700 (PDT) X-Gm-Message-State: ALoCoQnUDa37e92TDeZay6J/gfJ73KpSzWIjl/2JEXdZVtrv/j1s9sfypU/rZHavE4k/fbyX/Uu5 X-Received: by 10.58.137.167 with SMTP id qj7mr594067veb.1.1378446423648; Thu, 05 Sep 2013 22:47:03 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp321155vcz; Thu, 5 Sep 2013 22:47:03 -0700 (PDT) X-Received: by 10.68.113.130 with SMTP id iy2mr783594pbb.171.1378446422887; Thu, 05 Sep 2013 22:47:02 -0700 (PDT) Received: from mail-pd0-f170.google.com (mail-pd0-f170.google.com [209.85.192.170]) by mx.google.com with ESMTPS id hi6si1555215pac.345.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 05 Sep 2013 22:47:02 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.192.170 is neither permitted nor denied by best guess record for domain of manjunath.goudar@linaro.org) client-ip=209.85.192.170; Received: by mail-pd0-f170.google.com with SMTP id x10so2820589pdj.1 for ; Thu, 05 Sep 2013 22:47:02 -0700 (PDT) X-Received: by 10.68.225.42 with SMTP id rh10mr899243pbc.176.1378446422303; Thu, 05 Sep 2013 22:47:02 -0700 (PDT) Received: from manjunath-Latitude-E6420.LGE.NET ([203.247.149.152]) by mx.google.com with ESMTPSA id xe9sm1351066pbc.21.1969.12.31.16.00.00 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 05 Sep 2013 22:47:01 -0700 (PDT) From: Manjunath Goudar To: linus.walleij@linaro.org Cc: dsaxena@linaro.org, manjunath.goudar@linaro.org, patches@linaro.org Subject: [PATCH] FS/BTRFS/IOCTL: Fix "__put_user_unaligned" implicit declaration error. Date: Fri, 6 Sep 2013 11:16:52 +0530 Message-Id: <1378446412-5548-1-git-send-email-manjunath.goudar@linaro.org> X-Mailer: git-send-email 1.7.9.5 MIME-Version: 1.0 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: manjunath.goudar@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.128.180 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , asm-generic/uaccess-unaligned.h is been included in fs/btrfs/ioctl.c file, to remove the "__put_user_unaligned" implicit declaration error. Without this patch, build system can lead to following build failure. This was observed during randconfig test. CC fs/btrfs/ioctl.o fs/btrfs/ioctl.c: In function ‘btrfs_ioctl_file_extent_same’: fs/btrfs/ioctl.c:2802:3: error: implicit declaration of function ‘__put_user_unaligned’ [-Werror=implicit-function-declaration] if (__put_user_unaligned(info.status, &args->info[i].status) || ^ cc1: some warnings being treated as errors make[2]: *** [fs/btrfs/ioctl.o] Error 1 make[1]: *** [fs/btrfs] Error 2 make: *** [fs] Error 2 Signed-off-by: Manjunath Goudar Cc: Arnd Bergmann Cc: Deepak Saxena Cc: Linus Walleij Cc: Chris Mason Cc: linux-btrfs@vger.kernel.org Cc: linux-kernel@vger.kernel.org --- fs/btrfs/ioctl.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c index 1a5b946..6241ba2 100644 --- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c @@ -44,6 +44,7 @@ #include #include #include +#include #include "compat.h" #include "ctree.h" #include "disk-io.h"