From patchwork Sun Apr 19 17:24:24 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcin Slusarz X-Patchwork-Id: 26181 X-Patchwork-Delegate: davem@davemloft.net Return-Path: X-Original-To: patchwork-incoming@bilbo.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from ozlabs.org (ozlabs.org [203.10.76.45]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx.ozlabs.org", Issuer "CA Cert Signing Authority" (verified OK)) by bilbo.ozlabs.org (Postfix) with ESMTPS id 5F545B6F3A for ; Mon, 20 Apr 2009 03:24:54 +1000 (EST) Received: by ozlabs.org (Postfix) id 2E37BDE0AE; Mon, 20 Apr 2009 03:24:54 +1000 (EST) Delivered-To: patchwork-incoming@ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by ozlabs.org (Postfix) with ESMTP id B2FE4DE03F for ; Mon, 20 Apr 2009 03:24:53 +1000 (EST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752524AbZDSRYs (ORCPT ); Sun, 19 Apr 2009 13:24:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752380AbZDSRYr (ORCPT ); Sun, 19 Apr 2009 13:24:47 -0400 Received: from mail-fx0-f158.google.com ([209.85.220.158]:46336 "EHLO mail-fx0-f158.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751154AbZDSRYq (ORCPT ); Sun, 19 Apr 2009 13:24:46 -0400 Received: by fxm2 with SMTP id 2so1603221fxm.37 for ; Sun, 19 Apr 2009 10:24:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:content-type :content-transfer-encoding; bh=VCLtpmCJThURgMsPZNM29zYz+J8QqVfDVmpOmJp2r2o=; b=iPyv6peYJquYmy0FSl+477ytj+9BO6hvwZr9R8x9h1npGebhmVPAADPaJhvHkWFA2d /pQkjr9rdyFDHpL+YP4fNdi833CDfzWF1L1g3r9dpAM2aWIYYqNNidJX8mZ2FYz5w2dz R4KrpgE5YUmxWFvtgMBQJ1kYo/h/21h8Z3Ac8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding; b=djr35brGMZRG2bNVnT/RP6eJ3VqgdWCFow/p0chuqidcN3RrF2io08nDQn4RRed9lH 9NCpip/BtNd0dmovUUCoXWjrkiStB/qTi/EpP3yF+k1YRz0DYRbG7vC7f3GZOZHJdGqC Y2SGMUYIWKtswcq9EjVqbY4/dXQ0XwVb6NjNE= Received: by 10.86.36.17 with SMTP id j17mr3428343fgj.31.1240161884795; Sun, 19 Apr 2009 10:24:44 -0700 (PDT) Received: from ?10.0.0.2? (public-gprs13442.centertel.pl [87.96.52.130]) by mx.google.com with ESMTPS id d4sm1442588fga.11.2009.04.19.10.24.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 19 Apr 2009 10:24:43 -0700 (PDT) Message-ID: <49EB5E48.1040506@gmail.com> Date: Sun, 19 Apr 2009 19:24:24 +0200 From: Marcin Slusarz User-Agent: Thunderbird 2.0.0.21 (X11/20090302) MIME-Version: 1.0 To: "David S. Miller" CC: netdev@vger.kernel.org, trivial@kernel.org Subject: [PATCH] net: fix "compatibility" typos Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Signed-off-by: Marcin Slusarz --- drivers/net/Kconfig | 4 ++-- net/core/dev.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/net/Kconfig b/drivers/net/Kconfig index 9e92154..214a92d 100644 --- a/drivers/net/Kconfig +++ b/drivers/net/Kconfig @@ -28,9 +28,9 @@ if NETDEVICES config COMPAT_NET_DEV_OPS default y - bool "Enable older network device API compatiablity" + bool "Enable older network device API compatibility" ---help--- - This option enables kernel compatiability with older network devices + This option enables kernel compatibility with older network devices that do not use net_device_ops interface. If unsure, say Y. diff --git a/net/core/dev.c b/net/core/dev.c index 343883f..9d9516c 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -4400,7 +4400,7 @@ int register_netdevice(struct net_device *dev) dev->iflink = -1; #ifdef CONFIG_COMPAT_NET_DEV_OPS - /* Netdevice_ops API compatiability support. + /* Netdevice_ops API compatibility support. * This is temporary until all network devices are converted. */ if (dev->netdev_ops) { @@ -4411,7 +4411,7 @@ int register_netdevice(struct net_device *dev) dev->name, netdev_drivername(dev, drivername, 64)); /* This works only because net_device_ops and the - compatiablity structure are the same. */ + compatibility structure are the same. */ dev->netdev_ops = (void *) &(dev->init); } #endif