Received: by 10.213.65.68 with SMTP id h4csp3298280imn; Mon, 9 Apr 2018 18:31:48 -0700 (PDT) X-Google-Smtp-Source: AIpwx49zuuiFCpkBhp0pOTF03fNq597ogmoGtrsOkv3xpE2bt+WfWIbe3iWPHe2BnmV8D4GHo0L+ X-Received: by 10.99.108.71 with SMTP id h68mr6898492pgc.273.1523323908512; Mon, 09 Apr 2018 18:31:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523323908; cv=none; d=google.com; s=arc-20160816; b=pOVgLU1b4G6kQAI/X5PqjVxN3lFFbF3+ylhDirKtbFNb2/Gcy1c1cXmqmFO6qo81ya /WhNi8eRW7TLkeqgIKam/S1Lqsiwu6CbWUeilEPw/fuL68zz6KsRtybgLAF+j6kBPpZL SJqhzWnRJA3Qiomewvk44y9i+O8NZkHnjoYB9BuQCrirmgA2JVCxZSK8FxJgdP+kFQht 7D+A/PKkcICyyAJ0nkVvGt9EMiuBl9Y5jtWRZ/B5vQjILjDF1vIrc6a3/L2W+Y2jWC2L 8c5b0tPsG4dMXGte/6PfUyTj8ogRzYNdb3zJvZFZfksgy9zEKrIjOYli1/NsOpugpoJJ 62+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:message-id :in-reply-to:subject:cc:to:from:date:arc-authentication-results; bh=uiqpgeFrDNe9JTgg11QPdbuJwD5jgeEc7g4OBnD/YQU=; b=YQheLhl+5iIguohNfvFNRuJ06r/uhFPCLOVrFCrY/RBaRbr4aaIcdOr4FqRIHQuHHx YE0TVLC3jZ46JVxSA4iI6bXJA3OKvldsbUcqzwl0XRh8Jv+cZs5qa7KjiWycS7H2Pv5k jS/xY2lZZXGj4rOH7Tdk8RHWJN3Mva5YdY5g1O99dCWp08WRoMdp6x+oKUCGPSz5fnEc +Y6xoUkXmTOrcl/89kjBUx07MdQ6zn11193SxqPo57poWV1pNzudvyl3+bGhZk3RbDSr FsTAfy7tYHvspRklGKwf9Mu7ZbTnC8JpSDI9GuEOv23L9w8r0yOmSo5zOAEPKg7dgwN8 43zA== 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 l2si139993pgq.460.2018.04.09.18.31.10; Mon, 09 Apr 2018 18:31:48 -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 S1751969AbeDJB2F (ORCPT + 99 others); Mon, 9 Apr 2018 21:28:05 -0400 Received: from kvm5.telegraphics.com.au ([98.124.60.144]:41986 "EHLO kvm5.telegraphics.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751505AbeDJB2E (ORCPT ); Mon, 9 Apr 2018 21:28:04 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by kvm5.telegraphics.com.au (Postfix) with ESMTP id B988129635; Mon, 9 Apr 2018 21:27:52 -0400 (EDT) Date: Tue, 10 Apr 2018 11:27:51 +1000 (AEST) From: Finn Thain To: Geert Uytterhoeven cc: Laurent Vivier , Jens Axboe , linux-m68k , Linux Kernel Mailing List Subject: Re: [PATCH 08/12] block/swim: Don't log an error message for an invalid ioctl In-Reply-To: Message-ID: References: <803fabab1f0349bafe52b5589eff3edc077eee2d.1522546571.git.fthain@telegraphics.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 9 Apr 2018, Geert Uytterhoeven wrote: > On Sun, Apr 1, 2018 at 3:41 AM, Finn Thain wrote: > > The 'eject' shell command may send various different ioctl commands. > > This leads to error messages on the console even though the FDEJECT > > ioctl succeeds. > > > > ~# eject floppy > > SWIM floppy_ioctl: unknown cmd 21257 > > SWIM floppy_ioctl: unknown cmd 1 > > > > Don't log an error message for an invalid ioctl, just do as the > > swim3 driver does and return -ENOTTY. > > > > Cc: Laurent Vivier > > Cc: Jens Axboe > > Tested-by: Stan Johnson > > Signed-off-by: Finn Thain > > Reviewed-by: Geert Uytterhoeven > > Looks like amiflop can use a similar fix. > Right. I'll prepare a new patch for that and send it separately. -- > Gr{oetje,eeting}s, > > Geert > >