Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp3983754imu; Mon, 14 Jan 2019 12:38:39 -0800 (PST) X-Google-Smtp-Source: ALg8bN5sWTPRN6udhNcLm3QRkEny6wBD/IKEqtgiuh/oFIkwJ9j2KWz7gWuVNdA6qBrFScj77Nbf X-Received: by 2002:a63:d655:: with SMTP id d21mr355455pgj.280.1547498319162; Mon, 14 Jan 2019 12:38:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1547498319; cv=none; d=google.com; s=arc-20160816; b=Sa8YO09WOKU07IDFmMya2JgdQzkuzjsYt/hcmT1oMWldEyi9FGKmJwcqT9Ijk3FxDz w9kTARESsuS0TymNYvEuYZ9kfFHDWYi6BqFoUNh7Rc8tRk5kklrghBGsbtYhtmG0uVmK q87mphCiCHLrELJOHYawoTgNzWFqSaR1tpucudsmslPlgsoIkBkABSCzQuSe8AkFgl3H EwiXJRL4xgOl5gp4svY7UEhsdIaE4x3xO90+UFXXe2U/c37c468hDlIJEFg859APFrgC 5OdFMyyeznfl5wV8RAradzUcPbVJzlJOe8lRbS9dQdwLlSwm6E/jG+HQh4ElPn9dRix+ 2sfw== 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=lM5Pix3S8G5P2q0Akf04Mk8gPJNdqS9j0ZGAX4eS2jA=; b=kXnIx2WXWea9/KEzroogFYF41YZrfeT2gsJFH6t4AqHp0xDl0312Mq+bxelmS0jCQ4 xXNuunoEnoRJ7WCnEDlwWEveEJewdLn3Vnk5eLVLI44+A8wb/JgqxRpRdTLayG6zTsIG a0x6hpNNbaqdwN19g6NUEPmIQ0/0C/Dt4ZlTNt1NAHjcUKpgVPfa3VlBB0tdpXjB1Dqx 3Wq4hDDLY8leSmsYt1/Dp8Da+8BBmQq71FV4LGxXiyMtASOjH2YO2ceReIixwIe/FQav lRGY7rG5EOgjcnJs77xH2ktbkde9yhJ58V9j+I85cJHfiXlBorfnn+gQ0dS7idOc6FIH XE9w== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=kyhnRqds; 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 y6si1261126pfi.228.2019.01.14.12.38.24; Mon, 14 Jan 2019 12:38:39 -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=kyhnRqds; 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 S1727004AbfANUgO (ORCPT + 99 others); Mon, 14 Jan 2019 15:36:14 -0500 Received: from mail-wm1-f65.google.com ([209.85.128.65]:39530 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726755AbfANUgN (ORCPT ); Mon, 14 Jan 2019 15:36:13 -0500 Received: by mail-wm1-f65.google.com with SMTP id y8so986747wmi.4 for ; Mon, 14 Jan 2019 12:36:12 -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=lM5Pix3S8G5P2q0Akf04Mk8gPJNdqS9j0ZGAX4eS2jA=; b=kyhnRqdsoP7n7kNDrSsHrLGFP68L9hUA09Kp4FTWpHsTcG8HSWk2QxDceXIiKooauB BQgHmUKVdRT9ELsxIrEaMoXo1uc8QRTTpjo0pR1f+PE4jpJhFz+b/Jf8TuYsRCq/9eHC 32qkuOVIEnX1Dl1uh826p4O7IVIYnJrjUd3wgPSDS8CE4KrR/mfrMFewqkk0TAemI5/U o2FjowRS1GA7tuy5U7IFztXwZm1CyOBpeaMJVIleEy0mRbcVaqFXrs3TPE9Ow3Jilyid +BCNT+O+8kZg6pGWrFmhP8PxqwXYdUAvJDDHGqf7oRPCXSZsGlNvYUw1AkTVdNaVVqh1 eLiA== 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=lM5Pix3S8G5P2q0Akf04Mk8gPJNdqS9j0ZGAX4eS2jA=; b=S5dz4KLOdH8EXiUVh6MRiVhNkNyU6AOz9Az1KjFM0nWLIRbKvEKPxf5i7hM35lb0u7 GgoCRcXC3tQzGL99+2zFipFaBzCcApFOqeI87OPsbId53uwgRkPA36KnPKFC9/yeww48 fW9xvItUZa4bZpjVtdKGDaNZof7mUMQQbTGchHTeI9B00awcNAXiacGzV3YvPoQQAgHb tGdwAflV7tWaCuEbR0Gg8kP7X5z5MGV1hNPW3XGVx+FAQxiglWqm5Auio9j/yij13RVL sZEE7PQxSN5MtGofaQ4Re4z/P/piElApZKFZ9J/q37jJ+cT7bFbwgHFojoSKE8mKFJ3F WHWw== X-Gm-Message-State: AJcUukf3vNw5F5F20FMBQCAX6F+ZLp2Bj/0nZpqxmE9Koz189fi4z1ZJ UIPoO58zY9PlBtz/yafv0s4= X-Received: by 2002:a1c:d14d:: with SMTP id i74mr648570wmg.100.1547498172039; Mon, 14 Jan 2019 12:36:12 -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 3sm32993075wmw.46.2019.01.14.12.36.11 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 14 Jan 2019 12:36:11 -0800 (PST) Received: by macbookpro.malat.net (Postfix, from userid 1000) id 7BD3711422AD; Mon, 14 Jan 2019 21:36:10 +0100 (CET) From: Mathieu Malaterre To: Andrew Morton Cc: Mathieu Malaterre , linux-kernel@vger.kernel.org Subject: [PATCH] ipc: annotate implicit fall through Date: Mon, 14 Jan 2019 21:36:08 +0100 Message-Id: <20190114203608.18218-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: ipc/sem.c:1683:6: warning: this statement may fall through [-Wimplicit-fallthrough=] Signed-off-by: Mathieu Malaterre --- ipc/sem.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ipc/sem.c b/ipc/sem.c index 745dc6187e84..0307012ab343 100644 --- a/ipc/sem.c +++ b/ipc/sem.c @@ -1682,6 +1682,7 @@ long ksys_semctl(int semid, int semnum, int cmd, unsigned long arg) case IPC_SET: if (copy_semid_from_user(&semid64, p, version)) return -EFAULT; + /* fall through */ case IPC_RMID: return semctl_down(ns, semid, cmd, &semid64); default: -- 2.19.2