Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2978869imu; Sun, 9 Dec 2018 14:09:52 -0800 (PST) X-Google-Smtp-Source: AFSGD/WtMWFKKQei5mmhMD6/SsQFOV/ATVgtgfqn9BW5/uniHKilOgF0vcCc5k+xJpg/q+VWWuJo X-Received: by 2002:a63:3d03:: with SMTP id k3mr8822213pga.191.1544393392312; Sun, 09 Dec 2018 14:09:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544393392; cv=none; d=google.com; s=arc-20160816; b=nkPDU5EQdWRDGoHQXh9o9HBy8QHlCfAytsjxrmsAdRKJ8JKBxe4dZAXERLz3HPK0NA nmkgUOS+1g5mjUY1hDfsOe4p7Trp7HPRkaWVZ+fSyBhwNIDevn8uyg5CqFh/33Rf2pT0 MIo8MEkt0vHT3t4EJ07F+hLjUc59BZ1YhODtJk4Xat0guUO0rGOYQV14cvXWEoXWxha4 Pcu9i9X9YJDf39NWNljcWaysQvKrAKlEiL29pqWILXAiXIrJ02MgiIQFsFCBEBRs5J6U p3VZXIE8IOq6fY7vACzwdkg83GEW1Zv1dNKyl6fYEKNPirKU5ZV919GbrSpfhx5l3loV /k3Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:subject:message-id:date:cc:to :from:mime-version:content-transfer-encoding:content-disposition; bh=MGJMFgvFPmTi4jjvFZ8qcSQstOON9mxHmU3qQcndQow=; b=YELwiDTVXuchGwjM1+PE9gxGHN+D8CAEzedW/VdapVs7EhjN0Ld+OHHNnsfahMf/Lr xy+2uL5f+2iOKOfZJ81kYrQqrEBK2QjPyisSPKTdEfR/29h8dESnur22Mldtib40GMdk Rw4nZdvVnAVL1wux8oSe9OqBwM+tjkOA2DLAa24w3GxXVb7xrU2oOHxTSwLPZiGoxh4I HUy4o7SBvhhwOjtPDypMDlThJay1ihsWdukw71FV9Y6FvDrxyPbCkx9sQw+O/H4uLCS9 F1vbK1KJPE57oWGvuwzjkuT+631Dtys2Q033mowSlVjoH1gDM0JoKL4H1tZ9QKXkFMAD VBUg== 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 w12si8139929pgs.182.2018.12.09.14.09.37; Sun, 09 Dec 2018 14:09:52 -0800 (PST) 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 S1728036AbeLIWIV (ORCPT + 99 others); Sun, 9 Dec 2018 17:08:21 -0500 Received: from shadbolt.e.decadent.org.uk ([88.96.1.126]:37322 "EHLO shadbolt.e.decadent.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727992AbeLIWIS (ORCPT ); Sun, 9 Dec 2018 17:08:18 -0500 Received: from pub.yeoldevic.com ([81.174.156.145] helo=deadeye) by shadbolt.decadent.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1gW73O-0002il-Go; Sun, 09 Dec 2018 21:55:58 +0000 Received: from ben by deadeye with local (Exim 4.91) (envelope-from ) id 1gW72a-0003Gb-2L; Sun, 09 Dec 2018 21:55:08 +0000 Content-Type: text/plain; charset="UTF-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit MIME-Version: 1.0 From: Ben Hutchings To: linux-kernel@vger.kernel.org, stable@vger.kernel.org CC: akpm@linux-foundation.org, "Ladislav Michl" , "Bernie Thompson" , "Bartlomiej Zolnierkiewicz" Date: Sun, 09 Dec 2018 21:50:33 +0000 Message-ID: X-Mailer: LinuxStableQueue (scripts by bwh) X-Patchwork-Hint: ignore Subject: [PATCH 3.16 056/328] video: udlfb: Remove noisy warnings In-Reply-To: X-SA-Exim-Connect-IP: 81.174.156.145 X-SA-Exim-Mail-From: ben@decadent.org.uk X-SA-Exim-Scanned: No (on shadbolt.decadent.org.uk); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 3.16.62-rc1 review patch. If anyone has any objections, please let me know. ------------------ From: Ladislav Michl commit de4b74bda8e87a4ed45ebc2c26cc3e2eaae38429 upstream. These warnings comes from times of driver development and do not carry any usefull debugging information. Signed-off-by: Ladislav Michl Cc: Bernie Thompson Signed-off-by: Bartlomiej Zolnierkiewicz [bwh: Backported to 3.16: adjust context] Signed-off-by: Ben Hutchings --- drivers/video/fbdev/udlfb.c | 20 -------------------- 1 file changed, 20 deletions(-) --- a/drivers/video/fbdev/udlfb.c +++ b/drivers/video/fbdev/udlfb.c @@ -924,11 +924,7 @@ static void dlfb_free(struct kref *kref) if (dev->backing_buffer) vfree(dev->backing_buffer); - kfree(dev->edid); - - pr_warn("freeing dlfb_data %p\n", dev); - kfree(dev); } @@ -945,8 +941,6 @@ static void dlfb_free_framebuffer(struct struct fb_info *info = dev->info; if (info) { - int node = info->node; - unregister_framebuffer(info); if (info->cmap.len != 0) @@ -962,8 +956,6 @@ static void dlfb_free_framebuffer(struct /* Assume info structure is freed after this point */ framebuffer_release(info); - - pr_warn("fb_info for /dev/fb%d has been freed\n", node); } /* ref taken in probe() as part of registering framebfufer */ @@ -1064,8 +1056,6 @@ static int dlfb_ops_set_par(struct fb_in u16 *pix_framebuffer; int i; - pr_notice("set_par mode %dx%d\n", info->var.xres, info->var.yres); - result = dlfb_set_video_mode(dev, &info->var); if ((result == 0) && (dev->fb_count == 0)) { @@ -1168,8 +1158,6 @@ static int dlfb_realloc_framebuffer(stru unsigned char *new_fb; unsigned char *new_back = NULL; - pr_warn("Reallocating framebuffer. Addresses will change!\n"); - new_len = info->fix.line_length * info->var.yres; if (PAGE_ALIGN(new_len) > old_len) { @@ -1420,9 +1408,6 @@ static ssize_t edid_show( if (off + count > dev->edid_size) count = dev->edid_size - off; - pr_info("sysfs edid copy %p to %p, %d bytes\n", - dev->edid, buf, (int) count); - memcpy(buf, dev->edid, count); return count; @@ -1448,7 +1433,6 @@ static ssize_t edid_store( if (!dev->edid || memcmp(src, dev->edid, src_size)) return -EINVAL; - pr_info("sysfs written EDID is new default\n"); dlfb_ops_set_par(fb_info); return src_size; } @@ -1831,8 +1815,6 @@ static void dlfb_free_urb_list(struct dl int ret; unsigned long flags; - pr_notice("Freeing all render urbs\n"); - /* keep waiting and freeing, until we've got 'em all */ while (count--) { @@ -1911,8 +1893,6 @@ static int dlfb_alloc_urb_list(struct dl dev->urbs.count = i; dev->urbs.available = i; - pr_notice("allocated %d %d byte urbs\n", i, (int) size); - return i; }