From patchwork Sat Jun 9 11:50:42 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fengguang Wu X-Patchwork-Id: 10455495 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 1188060234 for ; Sat, 9 Jun 2018 11:51:18 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0101C205FC for ; Sat, 9 Jun 2018 11:51:18 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E9ECC207A7; Sat, 9 Jun 2018 11:51:17 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 93BA0205FC for ; Sat, 9 Jun 2018 11:51:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753232AbeFILvD (ORCPT ); Sat, 9 Jun 2018 07:51:03 -0400 Received: from mga03.intel.com ([134.134.136.65]:50193 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753188AbeFILvB (ORCPT ); Sat, 9 Jun 2018 07:51:01 -0400 X-Amp-Result: UNSCANNABLE X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 09 Jun 2018 04:51:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.49,494,1520924400"; d="scan'208";a="65628805" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga002.jf.intel.com with ESMTP; 09 Jun 2018 04:50:57 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1fRcOX-0001H2-04; Sat, 09 Jun 2018 19:50:57 +0800 Date: Sat, 9 Jun 2018 19:50:42 +0800 From: kbuild test robot To: Sayali Lokhande Cc: kbuild-all@01.org, subhashj@codeaurora.org, cang@codeaurora.org, vivek.gautam@codeaurora.org, rnayak@codeaurora.org, vinholikatti@gmail.com, jejb@linux.vnet.ibm.com, martin.petersen@oracle.com, asutoshd@codeaurora.org, evgreen@chromium.org, linux-scsi@vger.kernel.org, Sayali Lokhande , Stanislav Nijnikov , Greg Kroah-Hartman , Adrian Hunter , open list Subject: [RFC PATCH] scsi: ufs: dev_attr_ufs_provision can be static Message-ID: <20180609115042.GA149407@athens> References: <1528455990-24572-4-git-send-email-sayalil@codeaurora.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1528455990-24572-4-git-send-email-sayalil@codeaurora.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: lkp@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-scsi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-scsi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fixes: 2f7e32b8cdc9 ("scsi: ufs: Add sysfs support for ufs provision") Signed-off-by: kbuild test robot --- ufs-sysfs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/scsi/ufs/ufs-sysfs.c b/drivers/scsi/ufs/ufs-sysfs.c index 8b68813..36c28cc 100644 --- a/drivers/scsi/ufs/ufs-sysfs.c +++ b/drivers/scsi/ufs/ufs-sysfs.c @@ -264,7 +264,7 @@ static ssize_t ufs_provision_store(struct device *dev, return ufshcd_desc_config_store(dev, attr, buf, count); } -DEVICE_ATTR_RW(ufs_provision); +static DEVICE_ATTR_RW(ufs_provision); static struct attribute *ufs_sysfs_config_descriptor[] = { &dev_attr_ufs_provision.attr,