tmpfree: missed TRS80
authorAlan Cox <alan@linux.intel.com>
Thu, 19 Oct 2017 20:08:30 +0000 (21:08 +0100)
committerAlan Cox <alan@linux.intel.com>
Thu, 19 Oct 2017 20:08:30 +0000 (21:08 +0100)
Kernel/platform-trs80/devhd_discard.c

index 47fae21..313b968 100644 (file)
@@ -92,5 +92,5 @@ void hd_probe(void)
                hd_waitready();
                memcpy(&parts[dev], p, sizeof(parts[dev]));
        }
-       brelse((bufptr)udata.u_dptr);
+       tmpfree(udata.u_dptr);
 }