Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp139179imm; Mon, 4 Jun 2018 14:34:53 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJnvISU6MmXE965w3Z3T67hkgZuE5J3nVj5kmNbgUkB+YTTCm+vYz3vs5QWRjfm6qjJv07H X-Received: by 2002:a17:902:6686:: with SMTP id e6-v6mr23308467plk.35.1528148093804; Mon, 04 Jun 2018 14:34:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528148093; cv=none; d=google.com; s=arc-20160816; b=tFVGnUYwY7gcpQktYjid1prI7RMWE8txckYczYpj5UfqOcrixD4cUyPDzyQ/Z1GmtD UJ6iYUddJUJQoJkWIZNWxs9guYuPoNVvzwxuIZrfOcWuoIht11mTgZwHoW3K8BjybV0K 8/EPjhMEu2bKg7Zbf0ZsrcAD9e2plDavs2b3dyeulMLEX0JL7Qt9IwYfuWgkvHcCcDdk zAXK0kc8bxQwrOvK5c3X8Mjk4AYg787RZo7kqWi+9nQFWzpLC/2I2CMmsbVvO+iDXlYI uL0rAypYqmkZ/H/3L9JFlkwTkNnHU8aaiafFBRQ1pFKA40sa76CidGfT6o7fQkgf647c RyJg== 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:message-id:subject:cc:to:from:date :arc-authentication-results; bh=y3EUufHJX2qywXp0f8xGkTbjiX07wpquX1MUtcR+HfQ=; b=G+QwoHL0tlw5LXu1ccB/RQX/LXciZ0jsmgnetQigqiFQG1ey7YGbTHRquBDAONBA2G SJIcdXDmoXtVcLP36ITdK2cGkk48xkCXRthR49YqBCakXnZ10vRZ2IyaDEWRkS6I/nPf oyTWpYNoNvD37GcalRyYI32Xiei6YqNxifHd5+qn3NBAQBlB2SPRiwqAe+3T2pn6XgZ2 8/lKRKCluGfdIIJ8+VCCbgkga3eyiozgH6IUd6xjME0NsTz/tdVBYQxjrLBoh++JYnK5 3wUBq9PTObepC066tIo/NNlAkuKriqNX0LPru4X2Ko3WN0j+nbcegE9Xa+5JAWH8Zz8h /SWA== 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 z1-v6si13506078plo.516.2018.06.04.14.34.39; Mon, 04 Jun 2018 14:34:53 -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 S1751622AbeFDVdq (ORCPT + 99 others); Mon, 4 Jun 2018 17:33:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:56260 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751568AbeFDVdp (ORCPT ); Mon, 4 Jun 2018 17:33:45 -0400 Received: from gandalf.local.home (cpe-66-24-56-78.stny.res.rr.com [66.24.56.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E67A320891; Mon, 4 Jun 2018 21:33:43 +0000 (UTC) Date: Mon, 4 Jun 2018 17:33:42 -0400 From: Steven Rostedt To: Petr Mladek Cc: Maninder Singh , sergey.senozhatsky@gmail.com, linux-kernel@vger.kernel.org, a.sahrawat@samsung.com, pankaj.m@samsung.com, v.narang@samsung.com Subject: Re: [PATCH 1/2] printk: remove unused flag LOG_NOCONS Message-ID: <20180604173342.0b7a78e6@gandalf.local.home> In-Reply-To: <20180531121633.acuffu2b66q24c5c@pathway.suse.cz> References: <20180531102133epcas5p2e8d47887c1708836c9b70964983093e2~zs4eTmEuv0380103801epcas5p2U@epcas5p2.samsung.com> <20180531121633.acuffu2b66q24c5c@pathway.suse.cz> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 31 May 2018 14:16:33 +0200 Petr Mladek wrote: > > enum log_flags { > > - LOG_NOCONS = 1, /* already flushed, do not print to console */ > > - LOG_NEWLINE = 2, /* text ended with a newline */ > > - LOG_PREFIX = 4, /* text started with a prefix */ > > - LOG_CONT = 8, /* text is a fragment of a continuation line */ > > + LOG_NEWLINE = 1, /* text ended with a newline */ > > + LOG_PREFIX = 2, /* text started with a prefix */ > > + LOG_CONT = 4, /* text is a fragment of a continuation line */ > > }; > > Please, do not renumber the bits if there is no real need for it. > The format of the log buffer is read also by external tool like > "crash". It seems that "crash" ignores these flags but... Then what's the problem for renumbering? I've renumbered internal flags before. No one complained about it. -- Steve