Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp4365736imm; Mon, 18 Jun 2018 13:44:26 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLNwRoHD230T47AeDDpoK3Fg0xuwIZ4bIjzWfDo2/W296vWaqcZZEoYMVzy13kyG9YHFx7L X-Received: by 2002:a17:902:70ca:: with SMTP id l10-v6mr2721135plt.174.1529354666228; Mon, 18 Jun 2018 13:44:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529354666; cv=none; d=google.com; s=arc-20160816; b=hA7MVakNSGtte788y0mSR6b2CS4Zc5xU0s8C5RvnlqumHFLBg8yudVVOeqmmfHdj9H bpjcmxuI4G+RV/2GqpIRqz5pFnB/YlJmpi5IhPeb/RRCkpCxNtWbIf44sHTNxPrWukF+ acrNg3jVwCKWZgegqrBrUcF482Zkn2ZyOfhy9R9iJGsIByFH5gZ69e73rpcgezt8PD6I g8CdNzpHWP3ytdo0OVY1dLqQzjdLKluNPc/HkzRgF6JWUvHqqHU2cJ4oGETaL3TAbZ8V fp0F+WI8kDCfBxZ3Qfax8EELE627S7yhRsQJ8cPAj8fnMKYKb8PtvyxrBoF6voa33dlk z+og== 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 :references:in-reply-to:date:cc:to:from:subject:message-id :arc-authentication-results; bh=qTDD7v2n4ejO03QfCXIzPP5QDm9OwPns8EenqWsvtYE=; b=jDw12gTU0lRZFnrZzOnLGk4E9i3BVV68zhHaTM0anYjAM0c01qtnmzqutxVcoFbCjl IWKrqXYY8Bhu2E01VtfEnNB7FetXLWgZ/MDgonH1SdLX1+WwzKAXFz8WQZjxX/2Zg8YG SscuEgfSZGKsQTTzJ2rzVZKnx97r5VWvbHltEBzbta9xnOvgy7NzYpR0FNFQeeJV8DcO ZVrc8mn2EX+oZODdFp0KtsBSJYOREl3yKyggwwG62UZqcsgYayS5q4F+msdJZJpalP2a S3+EJytHJybRM5CRtpkv4AJXkWdmMm4AW4xgBNgLNEZm0IQQBxyckNBkxEM0t9zpVHx4 I7EQ== ARC-Authentication-Results: i=1; mx.google.com; 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 w22-v6si1586090plp.294.2018.06.18.13.44.12; Mon, 18 Jun 2018 13:44:26 -0700 (PDT) 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; 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 S936941AbeFRUmd (ORCPT + 99 others); Mon, 18 Jun 2018 16:42:33 -0400 Received: from s3.sipsolutions.net ([144.76.63.242]:58046 "EHLO sipsolutions.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936907AbeFRUmc (ORCPT ); Mon, 18 Jun 2018 16:42:32 -0400 Received: by sipsolutions.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.91) (envelope-from ) id 1fV0ys-0003Hk-No; Mon, 18 Jun 2018 22:42:30 +0200 Message-ID: <1529354549.3092.36.camel@sipsolutions.net> Subject: Re: [PATCH v3] bitfield: fix *_encode_bits() From: Johannes Berg To: Andy Shevchenko Cc: Linux Kernel Mailing List , netdev , Al Viro Date: Mon, 18 Jun 2018 22:42:29 +0200 In-Reply-To: (sfid-20180618_224029_738852_AF216451) References: <20180618195618.17536-1-johannes@sipsolutions.net> <1529353683.3092.32.camel@sipsolutions.net> (sfid-20180618_224029_738852_AF216451) Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.6 (3.26.6-1.fc27) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 2018-06-18 at 23:40 +0300, Andy Shevchenko wrote: > The idea is to print what was the input, expected output and actual result. > Then you would see what exactly is broken. Yeah, I guess we could. I did some of that work. > I dunno how much we may take away from this certain test case, though > it would be better for my opinion. TBH though, I'm not sure I want to do this (right now at least). I don't think we gain anything from it, it's so basic ... so to me it's just pointless extra code. johannes