From patchwork Wed Feb 18 20:09:38 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Larry Finger X-Patchwork-Id: 5847581 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Original-To: patchwork-linux-wireless@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id F2A209F36A for ; Wed, 18 Feb 2015 20:09:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EECFD20149 for ; Wed, 18 Feb 2015 20:09:58 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 9535D200FE for ; Wed, 18 Feb 2015 20:09:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751955AbbBRUJz (ORCPT ); Wed, 18 Feb 2015 15:09:55 -0500 Received: from mail-ob0-f182.google.com ([209.85.214.182]:57140 "EHLO mail-ob0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751259AbbBRUJz (ORCPT ); Wed, 18 Feb 2015 15:09:55 -0500 Received: by mail-ob0-f182.google.com with SMTP id nt9so6249655obb.13 for ; Wed, 18 Feb 2015 12:09:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:mime-version:content-type :content-transfer-encoding; bh=9W1cXlfoSDnwaNW03zyItpEa82JamMlRwmoj7nIckI4=; b=prKyG1ofWCmIH/Voo5s8gOYxcoMT8/SCjyzTkfscFTK/9E+JLlFRjL2A1KP/19Xpdc iZWCR5IvGyIYDrSmZzgQlW6afCH6v3YZj5n5glB9XAfQo20hx/H3P4aaVmv2xxw4UCAE AoKJyiNYU1dIqsc4jYPE+LCfLwroaD3iXJvf8zfghlHsf/OEM6YdH4T6YzJgm79MfDl0 FQvAPomT8UCKSyQkarkG5j7GiGNJHagTvXGuizw15mEWjUkZg9v/MN4FVhKBUexy8aq4 mSp8yaHWQsyNv/TaFx33riol9jOgC8QaGOEjnNF1F5tOqkGsQzxNWpjVGTPs5UgQXHkt WQ5w== X-Received: by 10.202.18.72 with SMTP id 69mr582499ois.61.1424290194497; Wed, 18 Feb 2015 12:09:54 -0800 (PST) Received: from linux.site ([69.76.245.152]) by mx.google.com with ESMTPSA id y2sm13415371oei.1.2015.02.18.12.09.53 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 18 Feb 2015 12:09:53 -0800 (PST) From: Larry Finger To: kvalo@codeaurora.org Cc: linux-wireless@vger.kernel.org, Larry Finger , =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= Subject: [PATCH] ssb: Silence warning for unknown backplane revision Date: Wed, 18 Feb 2015 14:09:38 -0600 Message-Id: <1424290178-25328-1-git-send-email-Larry.Finger@lwfinger.net> X-Mailer: git-send-email 2.1.4 MIME-Version: 1.0 Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP When using a BCM4318 in a PCMCIA format, I get a startup message that the device uses backplane revision 0xF000000. Next a WARNING is logged. Despite the message, the device works fine, This patch silences the warning. Cc: Rafa? Mi?ecki Signed-off-by: Larry Finger --- drivers/ssb/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/ssb/main.c b/drivers/ssb/main.c index 1e180c4..a48a743 100644 --- a/drivers/ssb/main.c +++ b/drivers/ssb/main.c @@ -1135,6 +1135,8 @@ static u32 ssb_tmslow_reject_bitmask(struct ssb_device *dev) case SSB_IDLOW_SSBREV_25: /* TODO - find the proper REJECT bit */ case SSB_IDLOW_SSBREV_27: /* same here */ return SSB_TMSLOW_REJECT; /* this is a guess */ + case SSB_IDLOW_SSBREV: + break; default: WARN(1, KERN_INFO "ssb: Backplane Revision 0x%.8X\n", rev); }