From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752335AbdGXBsp (ORCPT ); Sun, 23 Jul 2017 21:48:45 -0400 Received: from ozlabs.org ([103.22.144.67]:34919 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751782AbdGXBsi (ORCPT ); Sun, 23 Jul 2017 21:48:38 -0400 Date: Mon, 24 Jul 2017 11:48:36 +1000 From: Stephen Rothwell To: Brian Norris Cc: Linux-Next Mailing List , Linux Kernel Mailing List , Mario Rugiero Subject: linux-next: build warning after merge of the l2-mtd tree Message-ID: <20170724114836.08a7da64@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Brian, After merging the l2-mtd tree, today's linux-next build (x86_64 allmodconfig) produced this warning: drivers/mtd/mtdswap.c: In function 'mtdswap_add_debugfs': drivers/mtd/mtdswap.c:1317:17: warning: unused variable 'dev' [-Wunused-variable] struct device *dev = disk_to_dev(gd); ^ Introduced by commit e8e3edb95ce6 ("mtd: create per-device and module-scope debugfs entries") -- Cheers, Stephen Rothwell