Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp812786yba; Wed, 3 Apr 2019 21:11:53 -0700 (PDT) X-Google-Smtp-Source: APXvYqxpYgsu3dS8U1G1RjQzRG643/I7Xwd3/C4huZTF7Ej6SbuIiHtstKnhO68L0oj9p/wGcwV4 X-Received: by 2002:a65:60c1:: with SMTP id r1mr3553222pgv.137.1554351113299; Wed, 03 Apr 2019 21:11:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554351113; cv=none; d=google.com; s=arc-20160816; b=IA1AZYrgPJkZmfSnSRHQByngwwbwe/VhczZwmoIrGWLQ0tE8YxK57EUwj2VIJSEb6d 1Hg60PErmtZwzZI7Q0qArasuIE4jcbiG4HzFNdkwbeC1Umfe+9wphRLqu+JeuZsPZ1zk I1fzF+86D3zysBbl5a5OUubyrBruVo/d9+5heKacP6po2FhYKrGj+agrYY9DTystDYuO nWA92GbDd3sVfNZdhAuFyBncSQu2fo+hMuhZd6qAHG3aS9Qr6wXDspdBk+s4bVRCioTL SSJFhzboQLUKm5xcaBta6LMqUQg6rbeUZanyqFqLv8zyF2efWrJkAQKK/Op+IC9i+Nmk 4KCQ== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:reply-to; bh=XcJNrtYVW2YxrvDpwrrtzBgl4kSnz62JbvnaC1UUDk8=; b=eGx0J2Bsy2jHWKbXgT3/CzmJOe4T9l0uqgXM60baZbWDacRe85X6yjx6DPp26GJ7nx BeJHa9FtIfPL96jgcslJCb+Y9xINNroMcLPvpXD4Y5c2fwu2PLc+r3bdiRHBotraMK1X OOQYSV2HZUrqJQdJIkHxXQon/uAjXhHKN7aLYBbILgqIoR8fa07zvyHoIS0/IG1/S4A2 IHP0RDHwhoUJjvvHyGE3WrLx1qcpMS/75hD1j04Hld+2ndco78PmU3cF5f1DvngRQyIk rHxbSCsGd1l2w9KB8zKlgatgJjFmZ7Bv3lXzbBySdO5zYY+49E6rbQsOpp6fZmIH7OuV f5Ow== 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 n11si15213040pgq.131.2019.04.03.21.11.36; Wed, 03 Apr 2019 21:11: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 S1727104AbfDDEK6 (ORCPT + 99 others); Thu, 4 Apr 2019 00:10:58 -0400 Received: from smtp.infotech.no ([82.134.31.41]:53735 "EHLO smtp.infotech.no" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726404AbfDDEK6 (ORCPT ); Thu, 4 Apr 2019 00:10:58 -0400 X-Greylist: delayed 384 seconds by postgrey-1.27 at vger.kernel.org; Thu, 04 Apr 2019 00:10:57 EDT Received: from localhost (localhost [127.0.0.1]) by smtp.infotech.no (Postfix) with ESMTP id D57E82041D7; Thu, 4 Apr 2019 06:04:31 +0200 (CEST) X-Virus-Scanned: by amavisd-new-2.6.6 (20110518) (Debian) at infotech.no Received: from smtp.infotech.no ([127.0.0.1]) by localhost (smtp.infotech.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KXCNP5mLNELi; Thu, 4 Apr 2019 06:04:30 +0200 (CEST) Received: from [192.168.48.23] (host-45-58-224-183.dyn.295.ca [45.58.224.183]) by smtp.infotech.no (Postfix) with ESMTPA id 7B747204197; Thu, 4 Apr 2019 06:04:29 +0200 (CEST) Reply-To: dgilbert@interlog.com Subject: Re: correcting incorrect peripheral device type 0x0 To: "Martin K. Petersen" , Marc Gonzalez Cc: Avri Altman , Alim Akhtar , SCSI , LKML References: From: Douglas Gilbert Message-ID: Date: Thu, 4 Apr 2019 00:04:26 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-CA Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2019-04-03 11:34 p.m., Martin K. Petersen wrote: > > Marc, > >> scsi 0:0:0:49488: scsi_add_lun: correcting incorrect peripheral device type 0x0 for W-LUN 0x c150hN > > ^^^^^ Where do these crazy LUN numbers come from? That > looks like something which needs fixing... > sam6r04.pdf chapter 4.7.7.5.1 followed by Linux trying to show a byte string as an integer. But you knew that, didn't you ??