Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3985418imu; Mon, 14 Jan 2019 12:40:56 -0800 (PST) X-Google-Smtp-Source: ALg8bN42K2I5+ZKjqqe64/4j6O8dteLqx1tmAKuz5zaEThPTKkCkAKySezQ6uwebULkv/f1pmQLd X-Received: by 2002:a63:70c:: with SMTP id 12mr347858pgh.352.1547498456730; Mon, 14 Jan 2019 12:40:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547498456; cv=none; d=google.com; s=arc-20160816; b=MChdjXix2I9IAt5XDNgZtLpnKnazqyUTRUVySoJWjF4ypRYfc5HU5kavAboID+BkE7 +cbU4gdLKFnGjzxCi9E/ZNzh6aMs8o+lFMdT32kZ5jVnirpGaE1GKwM7WaNHZwNecKme O4/6mN30fj+pyAezEaNPhK2HhBa1y0eCRzY2KtesTm2BMOu3b/eFlbrKZvvO86Q4sDIb 1QI5VDSSfSd7Th19iGWYYD1upR8jXuACQ/klCjwld3XRr3Tm5aHMRBt38PI71S/JZhyV 82C7N3kU2UBehr5BxzeobDCy7MZM2u70IVk90ghifdSe6hqzQ5q8/QkgX3igdTvoyU5Z lqCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=1eJnjQW5IPzpeYQGufmmv3JMdNFkJ0jzBZNxHqBNDZk=; b=HvRRcSjsU3M8y6oQE18sG+9JNgqSrPD+MVbJNo4Qir4Y52rKlWwtKjz5OLm1FjfqLL KAlmqKrXKt8AKjuWhaZiwdO2d5vNHCcX474agV84M/N3sF9/DtYKaTGaX6KuZFE2ZhGz u1eGa5XBdHo/G+WmL1RN0j0YFL2b8x9qg3x3AVVkw1kC6gQanQrIcSTDrGfgX0d2JNHi lStejIXhWopXbZhpXEawC6UmPkruY4MuArKFxnNJxj267gxL87yX2FZZZospI11XMg4B KeaVQVKvBPCD25DnpjXnhHH0V2teaeWHU+TaybLKwjpM22hVGMD2w5Z96rPdmcTWWsM/ 2CvA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=BSP16BU5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 59si1172400ple.291.2019.01.14.12.40.41; Mon, 14 Jan 2019 12:40:56 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=BSP16BU5; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727119AbfANUiG (ORCPT + 99 others); Mon, 14 Jan 2019 15:38:06 -0500 Received: from mail-wm1-f68.google.com ([209.85.128.68]:35184 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726776AbfANUiG (ORCPT ); Mon, 14 Jan 2019 15:38:06 -0500 Received: by mail-wm1-f68.google.com with SMTP id t200so1018955wmt.0; Mon, 14 Jan 2019 12:38:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=1eJnjQW5IPzpeYQGufmmv3JMdNFkJ0jzBZNxHqBNDZk=; b=BSP16BU5BszWqZolP7r369EbMSL+9KTAt2sdRaUgVWPmdapaDiAz3UwsbSf3dtSw8s tHPDzv9YTaFzQBSEYvFqUGjHGzI+MgWNuO9Kfa+AqBIvDExO9V5vVQ9qX0VMFoH+p+bv 5K5SkVqwBUOkwBhJELXTiFw4ttN6QNyIJ5/8qcnVbxMTLfJNiR1fXEk5risFnGk9tGy5 88SA8WO5mAo3oEsPmx7KIE/g8m0ws6qz8ND2qvWJ+MAolup2cOgnOsN1Vqp6lD59CSgh egHBjd1PSjZ4z0fegazYwrOcSqelYCiKPga1glOkHx74JuBI+kHeJHeRdIMDdVSNI2O6 VEJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=1eJnjQW5IPzpeYQGufmmv3JMdNFkJ0jzBZNxHqBNDZk=; b=WdqmAUDZ8ea5l8q98RY0414LJiUAE1cR6BQgE4QenSaulkaAuzaCsok8BcUJGq8HAB kXYY6QEIUB3+Rkq7T7XKyiPGzFPWZHM34bRlrG9uAyOBlNGfZlsw+tkP1s+V5t6joPvx YD0kAbnoFRWZUUY8kLSocnVQ6B09/y4T4HyyR2Ml6tTA3vXqkByRLeEtrQN/siu5hnt0 sDe0OreyW1x4PoOYokJBaw/ImY61gjNnOa7ey+TEuf5fnsoQOw3KFBLSrMYFtL/3jDWR EnjffTzRpfzPy5+lLD/uuBYNIqvQJFnM853l7Whrwzn+guaaT/erPpPloyD55Ie7PluH YWPw== X-Gm-Message-State: AJcUukd5TK09g/UYYlFQRR/UMTMa6ZZanM9KNvGpPrX1ytzt2HVHzcY2 qhmDehaO7e5qpdYoYA5FnSI= X-Received: by 2002:a7b:c853:: with SMTP id c19mr625033wml.61.1547498284468; Mon, 14 Jan 2019 12:38:04 -0800 (PST) Received: from macbookpro.malat.net (bru31-1-78-225-224-134.fbx.proxad.net. [78.225.224.134]) by smtp.gmail.com with ESMTPSA id c12sm70904420wrs.82.2019.01.14.12.38.03 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 14 Jan 2019 12:38:03 -0800 (PST) Received: by macbookpro.malat.net (Postfix, from userid 1000) id C733F11422AD; Mon, 14 Jan 2019 21:38:02 +0100 (CET) From: Mathieu Malaterre To: Alexander Viro Cc: Mathieu Malaterre , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] seq_file: annotate implicit fall through Date: Mon, 14 Jan 2019 21:37:59 +0100 Message-Id: <20190114203759.19578-1-malat@debian.org> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There is a plan to build the kernel with -Wimplicit-fallthrough and this place in the code produced a warning (W=1). This commit remove the following warning: fs/seq_file.c:319:10: warning: this statement may fall through [-Wimplicit-fallthrough=] Signed-off-by: Mathieu Malaterre --- fs/seq_file.c | 1 + 1 file changed, 1 insertion(+) diff --git a/fs/seq_file.c b/fs/seq_file.c index 1dea7a8a5255..abe27ec43176 100644 --- a/fs/seq_file.c +++ b/fs/seq_file.c @@ -317,6 +317,7 @@ loff_t seq_lseek(struct file *file, loff_t offset, int whence) switch (whence) { case SEEK_CUR: offset += file->f_pos; + /* fall through */ case SEEK_SET: if (offset < 0) break; -- 2.19.2