Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752816AbdLMMbs (ORCPT ); Wed, 13 Dec 2017 07:31:48 -0500 Received: from fallback9.m.smailru.net ([94.100.178.49]:52325 "EHLO fallback.mail.ru" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751910AbdLMMbo (ORCPT ); Wed, 13 Dec 2017 07:31:44 -0500 Date: Wed, 13 Dec 2017 15:30:27 +0300 From: Mikhail Zaytsev To: Oliver Neukum Cc: linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org Subject: Re: [PATCH] USB: serial: ark3116.c: Remove unused TIOCSSERIAL case from ioctl Message-ID: <20171213153027.7aaab62b@zaytsev.tver.pg> In-Reply-To: <1513165248.26281.11.camel@suse.com> References: <20171213123004.4619000a@zaytsev.tver.pg> <1513160248.26281.5.camel@suse.com> <20171213143142.1c312b57@zaytsev.tver.pg> <1513165248.26281.11.camel@suse.com> X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-7FA49CB5: 0D63561A33F958A560989F18CF7FD8783E42E390292DD1E23218473BE5707D41725E5C173C3A84C3CD83284715018B27EFAC00BD1BFF30554DCCFF368A6260CFC4224003CC836476C0CAF46E325F83A50BF2EBBBDD9D6B0F9007B117A3693DAE3B503F486389A921A5CC5B56E945C8DA X-Mailru-Sender: AAD8E2226B689FDAF6252034B9A76A5CCDAD47D1A4C8085EBBB768917FB94DB1D732100F3E2561A889FF501873465F1766FEC6BF5C9C28D91C46F632D9E29CE943722207280E957E67EA787935ED9F1B X-Mras: OK X-7FA49CB5: 0D63561A33F958A50BC10E12FF2EAFDDB994C621969EB064017526AD44CF032F462275124DF8B9C91AEFE2C75F2E44D4E5BFE6E7EFDEDCD789D4C264860C145E X-Mailru-Sender: A5480F10D64C90059D04A353E0DED3E65FA7B185AC92D3DE2CB66C6D36490CF2A82939391C8226F2DD57BA745B7D1AC5C77752E0C033A69EFE56463BE75DB59D96F36F7408B082793453F38A29522196 X-Mras: OK Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 616 Lines: 17 On Wed, 13 Dec 2017 12:40:48 +0100 Oliver Neukum wrote: > They give you nothing. If you are looking at a vendor ID nothing but the > bare number makes sense. You are just making peoples' life harder when > they have to look up that definition. A symbolic name is fine if it gives > meaning. Even if the information you give is that the value is magic > and therefore not understood. But a vendor ID is an arbitrary yet > meaningful number. There is no point in hiding it. Thanks. I hear you, Oliver. What about: - serstruct.baud_base = 460800; Is it a magic number? I think yes. -- Mikhail